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.001187/0.001187, allocations: 77.88 kB / 20.66 MB, free: 3.852 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.001206/0.001206, allocations: 165 kB / 24.06 MB, free: 464 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 1.094/1.094, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.282/2.282, 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.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.064e-06/2.064e-06, allocations: 0 / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.479e-05, allocations: 2.859 kB / 0.8795 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001888/0.001913, allocations: 0.6817 MB / 0.8801 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.003188, allocations: 0.8618 MB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.00323, allocations: 4 kB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.003256, allocations: 3.938 kB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.003329, allocations: 2.312 kB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.003524, allocations: 13.47 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.003607, allocations: 24.48 kB / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.00371, allocations: 7.984 kB / 0.881 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.003789, allocations: 13.08 kB / 0.881 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.003826, allocations: 11.92 kB / 0.8811 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003842, allocations: 4.656 kB / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-05/0.003891, allocations: 7.938 kB / 0.8811 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.003908, allocations: 1.5 kB / 0.8811 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.003927, allocations: 11.98 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.004035, allocations: 19.91 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.004038, allocations: 0 / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004039, allocations: 3.844 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.004043, allocations: 0 / 0.8811 GB, free: 4.301 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.0003662/0.004409, allocations: 356.7 kB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.00445, allocations: 8.031 kB / 0.8814 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.004544, allocations: 4.938 kB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.004645, allocations: 120.5 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.004656, allocations: 384 / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.004663, allocations: 384 / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.00478, allocations: 62.88 kB / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004787, allocations: 192 / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.004796, allocations: 1.312 kB / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004802, allocations: 384 / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.004828, allocations: 7.938 kB / 0.8816 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.005077, allocations: 233.5 kB / 0.8819 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.408e-05/0.005131, allocations: 31 kB / 0.8819 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.005146, allocations: 8.812 kB / 0.8819 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.005159, allocations: 4.062 kB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.005184, allocations: 38.02 kB / 0.8819 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.005185, allocations: 0 / 0.8819 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.005328, allocations: 42.72 kB / 0.882 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.005361, allocations: 51.41 kB / 0.882 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.005443, allocations: 161.4 kB / 0.8822 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.005455, allocations: 29.64 kB / 0.8822 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.005503, allocations: 130.9 kB / 0.8823 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.005524, allocations: 11.94 kB / 0.8823 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.005559, allocations: 19.38 kB / 0.8824 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.005703, allocations: 492.1 kB / 0.8828 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.005714, allocations: 0 / 0.8828 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.005723, allocations: 4 kB / 0.8828 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.005751, allocations: 12.5 kB / 0.8828 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005752, allocations: 0 / 0.8828 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.827e-05/0.005821, allocations: 42.23 kB / 0.8829 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.005832, allocations: 7.938 kB / 0.8829 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.005837, allocations: 1.25 kB / 0.8829 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.005849, allocations: 3.938 kB / 0.8829 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.005913, allocations: 19.94 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.005916, allocations: 1.406 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.00594, allocations: 3.984 kB / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.005946, allocations: 4 kB / 0.8829 GB, free: 2.234 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 7.488e-05/0.006021, allocations: 156.8 kB / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.006044, allocations: 0 / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.215e-05/0.006126, allocations: 45 kB / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.006129, allocations: 3.938 kB / 0.8831 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.006131, allocations: 0 / 0.8831 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006134, allocations: 0 / 0.8831 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.006266, allocations: 101.2 kB / 0.8832 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006267, allocations: 0 / 0.8832 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.006297, allocations: 8 kB / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006299, allocations: 0 / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.006303, allocations: 32 / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006304, allocations: 7.938 kB / 0.8832 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006306, allocations: 0 / 0.8832 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.006412, allocations: 187.9 kB / 0.8834 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.006419, allocations: 7.953 kB / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.006428, allocations: 0 / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.006481, allocations: 4 kB / 0.8834 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.006509, allocations: 3.984 kB / 0.8834 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.006515, allocations: 3.938 kB / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.006555, allocations: 127.4 kB / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.006555, allocations: 0 / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002347/0.006789, allocations: 8.031 kB / 0.8836 GB, free: 1.52 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 8.785e-05/0.006877, allocations: 91.25 kB / 0.8837 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.006952, allocations: 23.61 kB / 0.8837 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006953, allocations: 0 / 0.8837 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.927e-05/0.006972, allocations: 11.69 kB / 0.8837 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.007236, allocations: 4 kB / 0.8837 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.00749, allocations: 122.5 kB / 0.8838 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.007529, allocations: 55.3 kB / 0.8839 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2e-05/0.007549, allocations: 7.922 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.0076, allocations: 70.2 kB / 0.8839 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.0076, allocations: 0 / 0.8839 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of Templates: time 0.002352/0.009952, allocations: 0.5274 MB / 0.8844 GB, free: 0.5586 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.681817694101483]