Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001413/0.001413, 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.001493/0.001493, 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 1.059/1.059, 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.32/2.32, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.8783 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.415e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001692/0.001726, allocations: 0.7725 MB / 0.879 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.002759, allocations: 0.8896 MB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.002809, allocations: 0 / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.002844, allocations: 3.938 kB / 0.8799 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.941e-05/0.002943, allocations: 11.92 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.003119, allocations: 31.91 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.003221, allocations: 67.83 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.003339, allocations: 15.98 kB / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.003448, allocations: 45.34 kB / 0.8801 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.00351, allocations: 35.88 kB / 0.8801 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.003535, allocations: 8 kB / 0.8801 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.003546, allocations: 4 kB / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.003571, allocations: 21.14 kB / 0.8801 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.003603, allocations: 23.91 kB / 0.8801 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003723, allocations: 55.8 kB / 0.8802 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.003729, allocations: 3.344 kB / 0.8802 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/0.003731, allocations: 0 / 0.8802 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.003738, allocations: 0 / 0.8802 GB, free: 4.594 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.0004551/0.004193, allocations: 388.4 kB / 0.8806 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.004236, allocations: 12.03 kB / 0.8806 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.004284, allocations: 12.89 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.004404, allocations: 128.4 kB / 0.8807 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.004427, allocations: 4.375 kB / 0.8807 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.004442, allocations: 8.375 kB / 0.8807 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.004607, allocations: 73.08 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.004613, allocations: 4.188 kB / 0.8808 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.004624, allocations: 4.375 kB / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.00463, allocations: 384 / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.004692, allocations: 29.38 kB / 0.8808 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.005094, allocations: 307.5 kB / 0.8811 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.005225, allocations: 59.03 kB / 0.8812 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.005267, allocations: 19.78 kB / 0.8812 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.005287, allocations: 3.938 kB / 0.8812 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.005312, allocations: 37.39 kB / 0.8812 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.005314, allocations: 0 / 0.8812 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002234/0.005537, allocations: 73.61 kB / 0.8813 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.005576, allocations: 55.41 kB / 0.8814 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.005681, allocations: 177.9 kB / 0.8815 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.005696, allocations: 25.7 kB / 0.8816 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.00576, allocations: 154.8 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.005787, allocations: 19.8 kB / 0.8817 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.005824, allocations: 27.36 kB / 0.8817 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.005948, allocations: 496.1 kB / 0.8822 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.005982, allocations: 11.98 kB / 0.8822 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.006009, allocations: 8 kB / 0.8822 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.006071, allocations: 35.61 kB / 0.8823 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006073, allocations: 0 / 0.8823 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001126/0.006186, allocations: 74.02 kB / 0.8823 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.006204, allocations: 4 kB / 0.8824 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.00621, allocations: 4 kB / 0.8824 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.006223, allocations: 0 / 0.8824 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.006342, allocations: 15.98 kB / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.006349, allocations: 0 / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.006384, allocations: 8 kB / 0.8824 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.006393, allocations: 7.969 kB / 0.8824 GB, free: 2.145 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 (6): * Single equations (assignments): 6 * 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.923e-05/0.006472, allocations: 160.5 kB / 0.8825 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.006496, allocations: 15.89 kB / 0.8826 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.006526, allocations: 8.438 kB / 0.8826 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006528, allocations: 4 kB / 0.8826 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.006533, allocations: 0 / 0.8826 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006536, allocations: 0 / 0.8826 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.006666, allocations: 136.7 kB / 0.8827 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.006668, allocations: 3.938 kB / 0.8827 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.006722, allocations: 11.98 kB / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.006726, allocations: 3.938 kB / 0.8827 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.006736, allocations: 4 kB / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006738, allocations: 0 / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.006739, allocations: 0 / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.00693, allocations: 215.8 kB / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.006949, allocations: 11.95 kB / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.006967, allocations: 7.938 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.007018, allocations: 4 kB / 0.8829 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.007086, allocations: 15.97 kB / 0.883 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.007091, allocations: 0 / 0.883 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.007148, allocations: 135.2 kB / 0.8831 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007148, allocations: 0 / 0.8831 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001637/0.007311, allocations: 12 kB / 0.8831 GB, free: 1.344 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 (6): * Single equations (assignments): 6 * 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.0001358/0.007447, allocations: 99.19 kB / 0.8832 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.007584, allocations: 47.72 kB / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.007586, allocations: 0 / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.007939, allocations: 35.61 kB / 0.8833 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.008169, allocations: 7.984 kB / 0.8833 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.008591, allocations: 174 kB / 0.8834 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.008631, allocations: 55.36 kB / 0.8835 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.008668, allocations: 11.98 kB / 0.8835 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.008717, allocations: 12.5 kB / 0.8835 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of SimCode: time 1.653e-06/0.008718, allocations: 0 / 0.8835 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of Templates: time 0.003684/0.0124, allocations: 1.364 MB / 0.8849 GB, free: 15.5 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.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: 6.09831195906736]