Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00291/0.00291, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.952/2.952, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.093e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.003477/0.003508, allocations: 1.246 MB / 0.7876 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004856, allocations: 423.7 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.004887, allocations: 0.6875 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.004905, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.087e-05/0.004966, allocations: 8.828 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.005663, allocations: 112.2 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.005752, allocations: 19.92 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.005792, allocations: 5.109 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.005839, allocations: 11.98 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.014e-05/0.005869, allocations: 0 / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.00589, allocations: 5.594 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.006308, allocations: 135.7 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.00634, allocations: 7.938 kB / 0.7883 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.006376, allocations: 7.984 kB / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.006682, allocations: 107.2 kB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.006686, allocations: 0 / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.006687, allocations: 0 / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.006692, allocations: 0 / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007289/0.00742, allocations: 405.7 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.007467, allocations: 12.03 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.007526, allocations: 8.891 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.00769, allocations: 112.6 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.007717, allocations: 384 / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.007734, allocations: 5.094 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.00788, allocations: 38.23 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.00789, allocations: 1.844 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.007907, allocations: 4.375 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.007914, allocations: 8.297 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.007962, allocations: 7.938 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.008205, allocations: 121.1 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.008348, allocations: 31.06 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.008409, allocations: 24.61 kB / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.008422, allocations: 0.9062 kB / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.008588, allocations: 57 kB / 0.7892 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.008589, allocations: 1.031 kB / 0.7892 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003344/0.008924, allocations: 73.62 kB / 0.7892 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.008989, allocations: 52.75 kB / 0.7893 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.009181, allocations: 169.9 kB / 0.7894 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.00921, allocations: 25.7 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.009317, allocations: 130.9 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.009346, allocations: 8.516 kB / 0.7896 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.009416, allocations: 28.2 kB / 0.7896 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003412/0.009757, allocations: 496.1 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.009789, allocations: 8 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.00987, allocations: 51.77 kB / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.009983, allocations: 55.66 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009985, allocations: 0 / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002023/0.01019, allocations: 75.23 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.0102, allocations: 4 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.01021, allocations: 8.5 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.01023, allocations: 4 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.876e-05/0.01033, allocations: 8.688 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.01034, allocations: 3.938 kB / 0.7903 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.01038, allocations: 12.39 kB / 0.7903 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.01039, allocations: 0.6875 kB / 0.7903 GB, free: 8.555 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.01055, allocations: 165.7 kB / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.01057, allocations: 4 kB / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.0106, allocations: 3.688 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.0106, allocations: 0.5312 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01061, allocations: 1.375 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.01061, allocations: 3.938 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.01078, allocations: 117 kB / 0.7906 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01078, allocations: 0 / 0.7906 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.0108, allocations: 5.188 kB / 0.7906 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.0108, allocations: 0 / 0.7906 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.01081, allocations: 0 / 0.7906 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01081, allocations: 0.8125 kB / 0.7906 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.01082, allocations: 7.984 kB / 0.7906 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.01107, allocations: 113.2 kB / 0.7907 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.01108, allocations: 0 / 0.7907 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.0111, allocations: 0 / 0.7907 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.01113, allocations: 1.219 kB / 0.7907 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.01116, allocations: 7.984 kB / 0.7907 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.01117, allocations: 0 / 0.7907 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001069/0.01128, allocations: 132 kB / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/0.01128, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004062/0.01168, allocations: 35.86 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006053/0.01229, allocations: 170.2 kB / 0.7911 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.01246, allocations: 38.61 kB / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01246, allocations: 0 / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.01252, allocations: 19.67 kB / 0.7911 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01274, allocations: 11.94 kB / 0.7911 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.01319, allocations: 118.3 kB / 0.7912 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.741e-05/0.01327, allocations: 59.34 kB / 0.7913 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.0133, allocations: 5.375 kB / 0.7913 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.01333, allocations: 12.44 kB / 0.7913 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01333, allocations: 0.625 kB / 0.7913 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of Templates: time 0.006242/0.01958, allocations: 1.074 MB / 0.7924 GB, free: 6.383 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 8.110844548093155]