Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.0009814/0.0009814, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001385/0.001385, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9849/0.9849, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.014/2.014, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.859e-05, allocations: 9.344 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002693/0.002721, allocations: 1.047 MB / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004072, allocations: 1.056 MB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004175, allocations: 8.703 kB / 0.7622 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.004296, allocations: 18.42 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.747e-05/0.004363, allocations: 28.5 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.004635, allocations: 72.98 kB / 0.7623 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.004815, allocations: 184.1 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.004959, allocations: 61.81 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.005116, allocations: 103.8 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.005208, allocations: 56.5 kB / 0.7627 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.005236, allocations: 16 kB / 0.7627 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.217e-05/0.005288, allocations: 17.12 kB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.005325, allocations: 43.83 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.005375, allocations: 51.83 kB / 0.7628 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.005567, allocations: 124 kB / 0.7629 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005571, allocations: 4.781 kB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.22e-07/0.005571, allocations: 0 / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.005575, allocations: 0 / 0.7629 GB, free: 3.727 MB / 0.7136 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.0005209/0.006096, allocations: 374.1 kB / 0.7633 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.006129, allocations: 12.03 kB / 0.7633 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.006426, allocations: 28.86 kB / 0.7633 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.006606, allocations: 155.8 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.006628, allocations: 12.38 kB / 0.7635 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.006658, allocations: 20.31 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.006869, allocations: 150.9 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.006879, allocations: 192 / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.006896, allocations: 13.25 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.006905, allocations: 4 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.006969, allocations: 32.56 kB / 0.7637 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.007566, allocations: 325.1 kB / 0.764 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.007782, allocations: 75.19 kB / 0.7641 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.007829, allocations: 42.31 kB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.007848, allocations: 4 kB / 0.7641 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.007959, allocations: 114.5 kB / 0.7642 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/0.007961, allocations: 5.25 kB / 0.7642 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0001819/0.008143, allocations: 103.9 kB / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.008174, allocations: 63.28 kB / 0.7644 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.008259, allocations: 148.4 kB / 0.7645 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.00828, allocations: 29.7 kB / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.008327, allocations: 112.5 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.008374, allocations: 63.42 kB / 0.7647 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.008431, allocations: 50.92 kB / 0.7648 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.008515, allocations: 326.8 kB / 0.7651 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.008584, allocations: 19.98 kB / 0.7651 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.008639, allocations: 44.14 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.008732, allocations: 74.53 kB / 0.7652 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.008735, allocations: 3.938 kB / 0.7652 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001501/0.008885, allocations: 107.5 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.008898, allocations: 4 kB / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.008902, allocations: 4 kB / 0.7653 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.008917, allocations: 3.938 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.009044, allocations: 43.84 kB / 0.7654 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.009047, allocations: 3.031 kB / 0.7654 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.009103, allocations: 19.89 kB / 0.7654 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.009113, allocations: 7.984 kB / 0.7654 GB, free: 1.023 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.872e-05/0.009192, allocations: 121.8 kB / 0.7655 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.009212, allocations: 11.98 kB / 0.7655 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.009367, allocations: 110.7 kB / 0.7656 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.009372, allocations: 9.438 kB / 0.7656 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.009375, allocations: 7.984 kB / 0.7656 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.00938, allocations: 3.984 kB / 0.7656 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.00978, allocations: 373.8 kB / 0.766 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.009783, allocations: 0 / 0.766 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.009889, allocations: 35.92 kB / 0.766 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.009893, allocations: 2.438 kB / 0.766 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.009909, allocations: 11.98 kB / 0.766 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.009912, allocations: 4 kB / 0.7661 GB, free: 300 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.009914, allocations: 0 / 0.7661 GB, free: 300 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.01013, allocations: 262.4 kB / 0.7663 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.01016, allocations: 22.62 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.01018, allocations: 11.98 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.01026, allocations: 4 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.01031, allocations: 23.95 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01032, allocations: 12 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.01035, allocations: 31.02 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01035, allocations: 3.938 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002284/0.01058, allocations: 32.89 kB / 0.7664 GB, free: 15.87 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0001132/0.01069, allocations: 93.38 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01084, allocations: 90.66 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.01084, allocations: 0 / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.01091, allocations: 56.72 kB / 0.7667 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.01114, allocations: 30.28 kB / 0.7667 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.01179, allocations: 363.5 kB / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.311e-05/0.01185, allocations: 72.06 kB / 0.7671 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.824e-05/0.0119, allocations: 18.98 kB / 0.7671 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.364e-05/0.012, allocations: 75.36 kB / 0.7672 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of SimCode: time 7.82e-07/0.012, allocations: 0 / 0.7672 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.004482/0.01648, allocations: 1.862 MB / 0.769 GB, free: 13.26 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1408444019034505]