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.0007561/0.0007561, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0007433/0.0007433, allocations: 177.9 kB / 23.21 MB, free: 1.34 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 0.8788/0.8788, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.641/1.641, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.263e-06/1.263e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.703e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001433/0.00145, allocations: 1.235 MB / 0.9529 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005699/0.00202, allocations: 407.1 kB / 0.9533 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.002044, allocations: 0 / 0.9533 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.002062, allocations: 4 kB / 0.9533 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.0021, allocations: 3.938 kB / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.002542, allocations: 115.5 kB / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.251e-05/0.002604, allocations: 15.98 kB / 0.9534 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.002644, allocations: 4 kB / 0.9534 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.002676, allocations: 11.92 kB / 0.9534 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.458e-05/0.0027, allocations: 11.92 kB / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.002713, allocations: 0 / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.002894, allocations: 131.7 kB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.002909, allocations: 7.984 kB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.00293, allocations: 4 kB / 0.9536 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.003088, allocations: 107.7 kB / 0.9537 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.00309, allocations: 3.938 kB / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00309, allocations: 4 kB / 0.9537 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.003094, allocations: 0 / 0.9537 GB, free: 0.9492 MB / 0.9011 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.000371/0.003465, allocations: 307.8 kB / 0.954 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.003497, allocations: 8.031 kB / 0.954 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.003526, allocations: 8.875 kB / 0.954 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.118e-05/0.003598, allocations: 105.8 kB / 0.9541 GB, free: 476 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.003617, allocations: 4.375 kB / 0.9541 GB, free: 472 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.003626, allocations: 384 / 0.9541 GB, free: 472 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.003707, allocations: 46.23 kB / 0.9542 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.003716, allocations: 192 / 0.9542 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.003725, allocations: 8.359 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.003729, allocations: 384 / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.003751, allocations: 7.938 kB / 0.9542 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.003856, allocations: 113.2 kB / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.648e-05/0.003913, allocations: 22.58 kB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.003933, allocations: 12.95 kB / 0.9543 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.003942, allocations: 3.984 kB / 0.9543 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.403e-05/0.004026, allocations: 51.41 kB / 0.9544 GB, free: 144 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.004027, allocations: 3.938 kB / 0.9544 GB, free: 140 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001576/0.004184, allocations: 73.61 kB / 0.9544 GB, free: 60 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.004223, allocations: 55.41 kB / 0.9545 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.326e-05/0.004276, allocations: 105.8 kB / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.004286, allocations: 25.7 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.004312, allocations: 88.09 kB / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.00433, allocations: 11.94 kB / 0.9547 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.004356, allocations: 21.72 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.004425, allocations: 314.8 kB / 0.955 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.004438, allocations: 8 kB / 0.955 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.004463, allocations: 35.42 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.004506, allocations: 43.38 kB / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.004512, allocations: 4 kB / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.296e-05/0.004575, allocations: 65.56 kB / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.004586, allocations: 8 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.00459, allocations: 0 / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.004602, allocations: 3.984 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.004654, allocations: 8 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.004659, allocations: 8.031 kB / 0.9552 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.004676, allocations: 11.95 kB / 0.9552 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.004683, allocations: 0 / 0.9552 GB, free: 15.18 MB / 0.9167 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 4.942e-05/0.004733, allocations: 109.8 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.004739, allocations: 4 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.00476, allocations: 12.09 kB / 0.9553 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.004761, allocations: 0 / 0.9553 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.004765, allocations: 0 / 0.9553 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.00477, allocations: 11.86 kB / 0.9553 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.248e-05/0.004832, allocations: 105.3 kB / 0.9554 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-07/0.004833, allocations: 7.938 kB / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.004837, allocations: 4 kB / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.004839, allocations: 3.984 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.004845, allocations: 0 / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004845, allocations: 0 / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004846, allocations: 0 / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.602e-05/0.004922, allocations: 89.05 kB / 0.9555 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.004927, allocations: 7.891 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.004937, allocations: 8 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.004948, allocations: 0 / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.004965, allocations: 0 / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.00497, allocations: 8 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.383e-05/0.004994, allocations: 83.2 kB / 0.9557 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004994, allocations: 4 kB / 0.9557 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001521/0.005146, allocations: 31.88 kB / 0.9557 GB, free: 14.64 MB / 0.9167 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.0002343/0.00538, allocations: 168.4 kB / 0.9558 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.556e-05/0.005466, allocations: 28.11 kB / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.005468, allocations: 8.062 kB / 0.9559 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.005489, allocations: 7.938 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.584e-05/0.005585, allocations: 10.19 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001891/0.005774, allocations: 134.6 kB / 0.956 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.005809, allocations: 67.28 kB / 0.9561 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.005821, allocations: 8.5 kB / 0.9561 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.005821, allocations: 0 / 0.9561 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of Templates: time 0.001877/0.007699, allocations: 1.245 MB / 0.9573 GB, free: 12.92 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 400] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 6.567895972169936]