Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0009898/0.0009898, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001459/0.001459, allocations: 169 kB / 24.06 MB, free: 456 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.9779/0.9779, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.083/2.083, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8795 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.774e-05/4.044e-05, allocations: 9.969 kB / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001478/0.001518, allocations: 0.6698 MB / 0.8801 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001886/0.001707, allocations: 23.61 kB / 0.8801 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.001758, allocations: 0 / 0.8801 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.001895, allocations: 7.922 kB / 0.8802 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.098e-05/0.001946, allocations: 0.6562 kB / 0.8802 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.217e-05/0.002028, allocations: 8 kB / 0.8802 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.002119, allocations: 24.03 kB / 0.8802 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.002267, allocations: 19.98 kB / 0.8802 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.002309, allocations: 23.91 kB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.002342, allocations: 11.98 kB / 0.8802 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.002367, allocations: 5.781 kB / 0.8802 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.002378, allocations: 0 / 0.8802 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.002416, allocations: 11.94 kB / 0.8803 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.002438, allocations: 8 kB / 0.8803 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.466e-05/0.002533, allocations: 35.83 kB / 0.8803 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002535, allocations: 4.969 kB / 0.8803 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.01e-07/0.002536, allocations: 0 / 0.8803 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.002541, allocations: 0 / 0.8803 GB, free: 5.137 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003126/0.002853, allocations: 389.5 kB / 0.8807 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.002891, allocations: 12.02 kB / 0.8807 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.002919, allocations: 8.891 kB / 0.8807 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.003052, allocations: 125.6 kB / 0.8808 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.003063, allocations: 384 / 0.8808 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.003072, allocations: 4.375 kB / 0.8808 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.003159, allocations: 51.3 kB / 0.8809 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.003167, allocations: 192 / 0.8809 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.003176, allocations: 4.375 kB / 0.8809 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.003182, allocations: 1.344 kB / 0.8809 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.003205, allocations: 19.88 kB / 0.8809 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.003575, allocations: 0.5071 MB / 0.8814 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.227e-05/0.003667, allocations: 265.4 kB / 0.8816 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.003703, allocations: 132.5 kB / 0.8818 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.003733, allocations: 123.2 kB / 0.8819 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.003779, allocations: 152.6 kB / 0.882 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.00378, allocations: 0 / 0.882 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.978e-05/0.00384, allocations: 38.88 kB / 0.8821 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.003913, allocations: 170.6 kB / 0.8822 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.004013, allocations: 175.8 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.004022, allocations: 25.7 kB / 0.8824 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.004092, allocations: 150.7 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.004094, allocations: 0 / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.004121, allocations: 23.38 kB / 0.8826 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.004245, allocations: 493.5 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.004252, allocations: 4 kB / 0.8831 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.004258, allocations: 0 / 0.8831 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.257e-05/0.004291, allocations: 16.81 kB / 0.8831 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004293, allocations: 0 / 0.8831 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.638e-05/0.004379, allocations: 39.22 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.004392, allocations: 8 kB / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.004397, allocations: 0 / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.004407, allocations: 0 / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.004453, allocations: 2.469 kB / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.004456, allocations: 4 kB / 0.8831 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.00447, allocations: 0 / 0.8831 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.004478, allocations: 4 kB / 0.8831 GB, free: 2.047 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 (1): * Single equations (assignments): 1 * 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 0.0002978/0.004776, allocations: 275.7 kB / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.004837, allocations: 156.8 kB / 0.8835 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.004885, allocations: 158.4 kB / 0.8837 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-05/0.004945, allocations: 268.2 kB / 0.884 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.28e-05/0.005018, allocations: 272 kB / 0.8842 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-05/0.005082, allocations: 268.1 kB / 0.8845 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.00526, allocations: 488.5 kB / 0.8849 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.143e-05/0.005311, allocations: 160.8 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.005345, allocations: 152.9 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-05/0.005405, allocations: 268.1 kB / 0.8855 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/0.005466, allocations: 272 kB / 0.8857 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.033e-05/0.005526, allocations: 264.1 kB / 0.886 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.547e-05/0.005592, allocations: 272 kB / 0.8863 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.005736, allocations: 455.9 kB / 0.8867 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.005782, allocations: 148.8 kB / 0.8868 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.005861, allocations: 268.1 kB / 0.8871 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.005928, allocations: 152.8 kB / 0.8872 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.005994, allocations: 264.1 kB / 0.8875 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.00603, allocations: 152.8 kB / 0.8876 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.006079, allocations: 139.2 kB / 0.8878 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006079, allocations: 0 / 0.8878 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001426/0.006222, allocations: 11.89 kB / 0.8878 GB, free: 13.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001306/0.006352, allocations: 210.4 kB / 0.888 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.083e-05/0.006413, allocations: 11.69 kB / 0.888 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006415, allocations: 0 / 0.888 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.006416, allocations: 0 / 0.888 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.006773, allocations: 0.7061 MB / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.007038, allocations: 261.4 kB / 0.8889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.667e-05/0.007075, allocations: 63.34 kB / 0.889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.007097, allocations: 4 kB / 0.889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.007135, allocations: 66.2 kB / 0.8891 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.007136, allocations: 0 / 0.8891 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of Templates: time 0.00197/0.009106, allocations: 338.1 kB / 0.8894 GB, free: 11.39 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.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.283926780801266]