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.001529/0.001529, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001631/0.001631, allocations: 169 kB / 23.27 MB, free: 1.223 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.9811/0.9811, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.325/2.325, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 1.854e-06/1.854e-06, allocations: 0 / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.85e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001243/0.001261, allocations: 0.6823 MB / 0.8905 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.002215, allocations: 0.8625 MB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.00225, allocations: 0 / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.002276, allocations: 0 / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.002351, allocations: 7.922 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.002513, allocations: 11.98 kB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.601e-05/0.002569, allocations: 27.92 kB / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.962e-05/0.002639, allocations: 0 / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.002704, allocations: 15.98 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.002733, allocations: 11.94 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.002746, allocations: 0 / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.002789, allocations: 7.938 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.002805, allocations: 15.97 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.158e-05/0.002817, allocations: 0 / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.827e-05/0.002895, allocations: 19.92 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002897, allocations: 7.938 kB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002898, allocations: 0 / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002901, allocations: 0 / 0.8914 GB, free: 8.008 MB / 0.8542 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.0002937/0.003195, allocations: 356.6 kB / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.003239, allocations: 12.61 kB / 0.8918 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.00332, allocations: 16.89 kB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.86e-05/0.003388, allocations: 108.6 kB / 0.8919 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.003398, allocations: 8.375 kB / 0.8919 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-06/0.003403, allocations: 384 / 0.8919 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.0035, allocations: 50.95 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003507, allocations: 192 / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.003513, allocations: 384 / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.003518, allocations: 384 / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.003539, allocations: 15.86 kB / 0.892 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.003737, allocations: 224.4 kB / 0.8922 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.941e-05/0.003776, allocations: 35.06 kB / 0.8922 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.00379, allocations: 11.67 kB / 0.8922 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.003805, allocations: 0 / 0.8922 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.003826, allocations: 45.47 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.003826, allocations: 0 / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001043/0.003931, allocations: 41.58 kB / 0.8923 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.003954, allocations: 51.41 kB / 0.8924 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.004025, allocations: 161.9 kB / 0.8925 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.004035, allocations: 25.7 kB / 0.8926 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.004081, allocations: 139 kB / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.004095, allocations: 0 / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.004118, allocations: 19.36 kB / 0.8927 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.004229, allocations: 496.1 kB / 0.8932 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-06/0.004238, allocations: 3.984 kB / 0.8932 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-06/0.004246, allocations: 4 kB / 0.8932 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.004268, allocations: 15.69 kB / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00427, allocations: 3.938 kB / 0.8932 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.234e-05/0.004313, allocations: 37.66 kB / 0.8932 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.004325, allocations: 8.031 kB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.00433, allocations: 4 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.004342, allocations: 3.938 kB / 0.8933 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.004402, allocations: 7.984 kB / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.004405, allocations: 0 / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.004421, allocations: 4 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.004425, allocations: 0 / 0.8933 GB, free: 5.934 MB / 0.8542 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 6.033e-05/0.004485, allocations: 156.6 kB / 0.8934 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.004496, allocations: 0 / 0.8934 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.004562, allocations: 48.94 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.004564, allocations: 7.969 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.004566, allocations: 0 / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.004568, allocations: 0 / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.838e-05/0.004656, allocations: 101.2 kB / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004658, allocations: 0 / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.004675, allocations: 4 kB / 0.8936 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.004677, allocations: 0 / 0.8936 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.004681, allocations: 0 / 0.8936 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.004681, allocations: 4 kB / 0.8936 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.004683, allocations: 3.984 kB / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.507e-05/0.004768, allocations: 191.8 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.004775, allocations: 7.953 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.004783, allocations: 4 kB / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.004811, allocations: 3.984 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.004837, allocations: 4 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.00484, allocations: 3.938 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.004876, allocations: 123.2 kB / 0.8939 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004876, allocations: 4 kB / 0.8939 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001261/0.005002, allocations: 0 / 0.8939 GB, free: 5.215 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 (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 7.883e-05/0.005081, allocations: 103.3 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.716e-05/0.005138, allocations: 15.69 kB / 0.894 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.00514, allocations: 0 / 0.894 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.444e-05/0.005154, allocations: 11.69 kB / 0.894 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.005329, allocations: 15.86 kB / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.00551, allocations: 102.4 kB / 0.8941 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.99e-05/0.00554, allocations: 63.28 kB / 0.8942 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.294e-05/0.005553, allocations: 8.062 kB / 0.8942 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.005592, allocations: 70.2 kB / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.005592, allocations: 0 / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of Templates: time 0.001754/0.007347, allocations: 0.5131 MB / 0.8948 GB, free: 4.254 MB / 0.8542 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.164655637927353]