Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001183/0.001183, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001403/0.001403, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9863/0.9863, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 2.111/2.111, allocations: 429.5 MB / 0.6736 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.8783 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.26e-05, allocations: 4.984 kB / 0.8783 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001577/0.001609, allocations: 0.6791 MB / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004875/0.006484, allocations: 0.865 MB / 0.8798 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.006519, allocations: 0 / 0.8798 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.006544, allocations: 3.938 kB / 0.8798 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.006603, allocations: 5.75 kB / 0.8798 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.006774, allocations: 13.52 kB / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.006851, allocations: 27.92 kB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.006937, allocations: 0 / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.007012, allocations: 15.92 kB / 0.8798 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.338e-05/0.007045, allocations: 13.86 kB / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.007061, allocations: 4 kB / 0.8798 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.007104, allocations: 7.938 kB / 0.8799 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.007117, allocations: 0 / 0.8799 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.007136, allocations: 4 kB / 0.8799 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.007233, allocations: 30.55 kB / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007236, allocations: 0 / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007237, allocations: 0 / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.007241, allocations: 0 / 0.8799 GB, free: 4.953 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003323/0.007574, allocations: 356.7 kB / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.007611, allocations: 8.031 kB / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.007715, allocations: 4.938 kB / 0.8802 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.626e-05/0.007802, allocations: 121.2 kB / 0.8804 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.007814, allocations: 4.375 kB / 0.8804 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.007822, allocations: 2.031 kB / 0.8804 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.007939, allocations: 54.89 kB / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.007945, allocations: 192 / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.007954, allocations: 384 / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.007961, allocations: 1.719 kB / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.007992, allocations: 7.938 kB / 0.8804 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.008261, allocations: 247.8 kB / 0.8807 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/0.008308, allocations: 35 kB / 0.8807 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.008331, allocations: 15.75 kB / 0.8807 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.008347, allocations: 0 / 0.8807 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.008367, allocations: 33.39 kB / 0.8807 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.008368, allocations: 0 / 0.8807 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001468/0.008514, allocations: 41.62 kB / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.008543, allocations: 55.41 kB / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/0.01164, allocations: 157.9 kB / 0.881 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.01165, allocations: 33.58 kB / 0.881 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.0117, allocations: 131 kB / 0.8811 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.01172, allocations: 15.95 kB / 0.8812 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.01175, allocations: 15.38 kB / 0.8812 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.01185, allocations: 492.1 kB / 0.8816 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.01187, allocations: 4 kB / 0.8816 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.01188, allocations: 0 / 0.8816 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.01191, allocations: 19.67 kB / 0.8817 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01191, allocations: 0 / 0.8817 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.284e-05/0.01197, allocations: 45.66 kB / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01199, allocations: 4 kB / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01199, allocations: 8.031 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.012, allocations: 0 / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.01209, allocations: 11.92 kB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01209, allocations: 3.984 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.01211, allocations: 8 kB / 0.8817 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.01212, allocations: 0 / 0.8817 GB, free: 2.848 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.745e-05/0.01218, allocations: 156.6 kB / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.0122, allocations: 0 / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.01235, allocations: 49.12 kB / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01235, allocations: 8.016 kB / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01235, allocations: 0 / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01236, allocations: 0 / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.01246, allocations: 116.6 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.01246, allocations: 0 / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.0125, allocations: 4 kB / 0.8821 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.0125, allocations: 4 kB / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.01251, allocations: 0 / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.01251, allocations: 11.86 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01251, allocations: 0 / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.9e-05/0.0126, allocations: 176 kB / 0.8822 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.01261, allocations: 15.98 kB / 0.8823 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.01262, allocations: 0 / 0.8823 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.01267, allocations: 11.92 kB / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.0127, allocations: 0 / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.0127, allocations: 0 / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.01273, allocations: 131.1 kB / 0.8824 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01273, allocations: 0 / 0.8824 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001987/0.01293, allocations: 4 kB / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.432e-05/0.01303, allocations: 91.25 kB / 0.8825 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.585e-05/0.0131, allocations: 23.62 kB / 0.8825 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.0131, allocations: 4 kB / 0.8825 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.679e-05/0.01312, allocations: 7.688 kB / 0.8825 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01336, allocations: 10.02 kB / 0.8825 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.01361, allocations: 118.4 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.01365, allocations: 51.36 kB / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.01366, allocations: 8.125 kB / 0.8827 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.01369, allocations: 8.5 kB / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.01369, allocations: 0 / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of Templates: time 0.005312/0.019, allocations: 487.8 kB / 0.8832 GB, free: 1.258 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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.507973792031407]