Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001836/0.001836, allocations: 84.73 kB / 19.44 MB, free: 464 kB / 13.93 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.002182/0.002182, allocations: 161.7 kB / 22.75 MB, free: 1.789 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.541/1.541, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.232/3.232, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8775 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.848e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002745/0.002774, allocations: 1.248 MB / 0.8788 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003783, allocations: 408.8 kB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.00381, allocations: 4.938 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.608e-05/0.003896, allocations: 5.094 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.045e-05/0.003917, allocations: 0 / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.004492, allocations: 117.1 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.004569, allocations: 20.55 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.004607, allocations: 4.578 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.004652, allocations: 15.98 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.072e-05/0.004683, allocations: 8.609 kB / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.004699, allocations: 1.031 kB / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.005026, allocations: 131.7 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.005084, allocations: 23.92 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.005131, allocations: 20.61 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.005414, allocations: 135.5 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005416, allocations: 1.219 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005417, allocations: 0 / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.005421, allocations: 0 / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005783/0.005999, allocations: 369.9 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.006038, allocations: 8.031 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.006149, allocations: 16.84 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.006289, allocations: 121.6 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.00631, allocations: 5.172 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.006324, allocations: 8.375 kB / 0.8801 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.006544, allocations: 140 kB / 0.8803 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.006555, allocations: 8.109 kB / 0.8803 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.006564, allocations: 4.312 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.006569, allocations: 4.062 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.006671, allocations: 67.91 kB / 0.8803 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.006846, allocations: 121.2 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.006975, allocations: 78.56 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.007066, allocations: 68.88 kB / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.007079, allocations: 4 kB / 0.8806 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.007362, allocations: 171.3 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.007363, allocations: 4 kB / 0.8808 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006661/0.008029, allocations: 405.8 kB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.008115, allocations: 87.31 kB / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.008246, allocations: 129.7 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.008424, allocations: 49.69 kB / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.008481, allocations: 80.8 kB / 0.8815 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.008608, allocations: 103.3 kB / 0.8816 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.008737, allocations: 89.67 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.008935, allocations: 334.8 kB / 0.882 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.009145, allocations: 140.6 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.009421, allocations: 209.2 kB / 0.8823 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.00998, allocations: 409.3 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.009984, allocations: 0 / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006665/0.01065, allocations: 450.5 kB / 0.8831 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.01067, allocations: 10.64 kB / 0.8832 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.01068, allocations: 8.406 kB / 0.8832 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.0107, allocations: 0 / 0.8832 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.01082, allocations: 23.94 kB / 0.8832 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.01083, allocations: 7.938 kB / 0.8832 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.01091, allocations: 39.69 kB / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.01093, allocations: 11.98 kB / 0.8832 GB, free: 496 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 1 * 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.0001962/0.01113, allocations: 185.6 kB / 0.8834 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.01115, allocations: 11.94 kB / 0.8834 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.01118, allocations: 9.312 kB / 0.8834 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01118, allocations: 0 / 0.8834 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01118, allocations: 0 / 0.8834 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01119, allocations: 3.938 kB / 0.8834 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.01133, allocations: 124.8 kB / 0.8836 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01133, allocations: 0 / 0.8836 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.01135, allocations: 4 kB / 0.8836 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01135, allocations: 4 kB / 0.8836 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.01136, allocations: 0 / 0.8836 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01136, allocations: 0 / 0.8836 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01136, allocations: 0 / 0.8836 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.01184, allocations: 343.3 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.01186, allocations: 19.78 kB / 0.8839 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.0119, allocations: 23.98 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.01192, allocations: 0 / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.01195, allocations: 4 kB / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.01196, allocations: 0 / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.594e-05/0.01202, allocations: 87.2 kB / 0.884 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01202, allocations: 4 kB / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003153/0.01234, allocations: 51.94 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * 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.0005366/0.01287, allocations: 223.5 kB / 0.8843 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.01331, allocations: 265 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01331, allocations: 0 / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.01342, allocations: 71.97 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.01359, allocations: 4.516 kB / 0.8846 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.01412, allocations: 303.6 kB / 0.8849 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.01424, allocations: 97.62 kB / 0.885 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.48e-05/0.01428, allocations: 20.64 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.01431, allocations: 12.5 kB / 0.885 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.01431, allocations: 0 / 0.885 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.005391/0.0197, allocations: 1.683 MB / 0.8867 GB, free: 12.89 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.354414148954675]