Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008009/0.0008009, 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.0009041/0.0009041, 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.9767/0.9767, allocations: 177.1 MB / 204.6 MB, free: 5.492 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 1.927/1.927, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.915e-05, allocations: 4.094 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001997/0.002026, allocations: 0.686 MB / 0.7608 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003148, allocations: 0.8646 MB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.003187, allocations: 1.125 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.003214, allocations: 1.422 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.003283, allocations: 4.812 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.003463, allocations: 12.7 kB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.003533, allocations: 19.92 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.003609, allocations: 8.531 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.00369, allocations: 17.89 kB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.003726, allocations: 4.875 kB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.00374, allocations: 0 / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.003789, allocations: 13.69 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.003807, allocations: 4.641 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.003827, allocations: 10.77 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.003944, allocations: 16.58 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.003947, allocations: 1.312 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003948, allocations: 0 / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.003952, allocations: 0 / 0.7617 GB, free: 4.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000246/0.004198, allocations: 233.9 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.004227, allocations: 12.03 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.004301, allocations: 9.703 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.634e-05/0.004368, allocations: 105.7 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.004375, allocations: 5 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.004382, allocations: 384 / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.053e-05/0.004462, allocations: 55.56 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.004467, allocations: 1.344 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-06/0.004473, allocations: 1.359 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004478, allocations: 384 / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.004497, allocations: 16.91 kB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.004659, allocations: 144.3 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.552e-05/0.004694, allocations: 19.08 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.072e-05/0.004705, allocations: 4.859 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.004728, allocations: 5.844 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.004745, allocations: 30.56 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.004746, allocations: 0 / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.119e-05/0.004837, allocations: 47.77 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.004866, allocations: 55.34 kB / 0.7624 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.984e-05/0.004915, allocations: 98.72 kB / 0.7625 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.004925, allocations: 25.7 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.004951, allocations: 92.89 kB / 0.7626 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.004966, allocations: 3.953 kB / 0.7626 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.004989, allocations: 14.59 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.005056, allocations: 310.8 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-06/0.005063, allocations: 1.406 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.00507, allocations: 4 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.005095, allocations: 18.09 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005097, allocations: 0 / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.041e-05/0.005137, allocations: 39.08 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.005146, allocations: 4 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005151, allocations: 0.875 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.00516, allocations: 0.8125 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.005218, allocations: 15.92 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.00522, allocations: 2.656 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.005234, allocations: 0 / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.005237, allocations: 192 / 0.763 GB, free: 3.445 MB / 0.7136 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 4.525e-05/0.005283, allocations: 117.8 kB / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.005297, allocations: 7.984 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.005359, allocations: 53.58 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.00536, allocations: 2.438 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.005363, allocations: 3.938 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.005365, allocations: 0 / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.77e-05/0.005443, allocations: 61.91 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005444, allocations: 0 / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.005466, allocations: 9.188 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.005468, allocations: 4 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-06/0.005472, allocations: 1.594 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.005473, allocations: 0 / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005473, allocations: 0 / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.465e-05/0.005538, allocations: 140.5 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.005547, allocations: 7.953 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/0.005554, allocations: 0 / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.005583, allocations: 1 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.00561, allocations: 7.984 kB / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.005611, allocations: 0 / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.693e-05/0.005628, allocations: 19.16 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005628, allocations: 0 / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001149/0.005743, allocations: 0 / 0.7635 GB, free: 2.977 MB / 0.7136 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 8.427e-05/0.005827, allocations: 79.17 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.742e-05/0.005875, allocations: 16.83 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.005877, allocations: 4 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.00589, allocations: 12.8 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.006016, allocations: 6.219 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/0.006211, allocations: 112.6 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.889e-05/0.00624, allocations: 56.12 kB / 0.7637 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.239e-05/0.006252, allocations: 0 / 0.7637 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.006288, allocations: 57.77 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.006289, allocations: 0 / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of Templates: time 0.001808/0.008097, allocations: 457.6 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.008837748784572]