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.001169/0.001169, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001932/0.003101, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001159/0.001159, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002519, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1116/1.128, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.875/1.875, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5083/2.383, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 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.615e-06/2.615e-06, allocations: 4.656 kB / 0.7294 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.624e-05, allocations: 8.781 kB / 0.7294 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001077/0.001093, allocations: 0.7151 MB / 0.7301 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000701/0.001794, allocations: 0.8717 MB / 0.7309 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.001815, allocations: 1.422 kB / 0.7309 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.001829, allocations: 0 / 0.7309 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.677e-05/0.001856, allocations: 5.891 kB / 0.731 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.074e-05/0.001927, allocations: 16.61 kB / 0.731 GB, free: 2.855 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.291e-05/0.001979, allocations: 20.7 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.002035, allocations: 10.23 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.002095, allocations: 17.95 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.069e-05/0.002126, allocations: 12.86 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.002136, allocations: 0 / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.002178, allocations: 8 kB / 0.731 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.002188, allocations: 0.875 kB / 0.731 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.198e-05/0.0022, allocations: 7.422 kB / 0.731 GB, free: 2.793 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.046e-05/0.00227, allocations: 17.41 kB / 0.7311 GB, free: 2.777 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.002283, allocations: 1.094 kB / 0.7311 GB, free: 2.777 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002284, allocations: 3.938 kB / 0.7311 GB, free: 2.773 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.002299, allocations: 0 / 0.7311 GB, free: 2.773 MB / 0.698 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.0003014/0.002601, allocations: 233.2 kB / 0.7313 GB, free: 2.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.002629, allocations: 13.47 kB / 0.7313 GB, free: 2.508 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.002736, allocations: 82.05 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.002811, allocations: 109.7 kB / 0.7315 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.002821, allocations: 4.375 kB / 0.7315 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.002827, allocations: 5.031 kB / 0.7315 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.568e-05/0.002923, allocations: 56.72 kB / 0.7315 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.00293, allocations: 192 / 0.7315 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.002935, allocations: 2.094 kB / 0.7315 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.002942, allocations: 384 / 0.7315 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.002967, allocations: 7.938 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.00313, allocations: 144.2 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.003172, allocations: 23.39 kB / 0.7317 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.21e-05/0.003184, allocations: 8.859 kB / 0.7317 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.003201, allocations: 4.562 kB / 0.7317 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.00322, allocations: 31.22 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.003221, allocations: 0.5469 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.056e-05/0.003311, allocations: 42.33 kB / 0.7318 GB, free: 1.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.003339, allocations: 56.47 kB / 0.7319 GB, free: 1.844 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.71e-05/0.003386, allocations: 102.7 kB / 0.732 GB, free: 1.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.003394, allocations: 25.7 kB / 0.732 GB, free: 1.699 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.00342, allocations: 89.88 kB / 0.7321 GB, free: 1.609 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.003434, allocations: 7.953 kB / 0.7321 GB, free: 1.602 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.003457, allocations: 18.33 kB / 0.7321 GB, free: 1.578 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.003522, allocations: 310.8 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.003529, allocations: 4.688 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.003536, allocations: 1.75 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.817e-05/0.003554, allocations: 12.84 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.003556, allocations: 0 / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.61e-05/0.003592, allocations: 38.3 kB / 0.7324 GB, free: 1.203 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.003604, allocations: 6.938 kB / 0.7324 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.003609, allocations: 4.984 kB / 0.7325 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.003617, allocations: 0 / 0.7325 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.003678, allocations: 11.94 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.00368, allocations: 0.5312 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.003694, allocations: 1.891 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.003699, allocations: 4 kB / 0.7325 GB, free: 1.18 MB / 0.698 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.487e-05/0.003744, allocations: 110.5 kB / 0.7326 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.003755, allocations: 4 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.003819, allocations: 45.47 kB / 0.7326 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.003821, allocations: 0.9375 kB / 0.7326 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.003823, allocations: 3.938 kB / 0.7326 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.003826, allocations: 0.9531 kB / 0.7326 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.384e-05/0.0039, allocations: 66.77 kB / 0.7327 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.0039, allocations: 0 / 0.7327 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.003923, allocations: 17.19 kB / 0.7327 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.003929, allocations: 3.953 kB / 0.7327 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.00393, allocations: 0 / 0.7327 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-06/0.003934, allocations: 1.656 kB / 0.7327 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.003934, allocations: 0.7656 kB / 0.7327 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.00394, allocations: 11.92 kB / 0.7327 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.704e-05/0.003997, allocations: 135.5 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-06/0.004004, allocations: 1.125 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.004032, allocations: 4 kB / 0.7329 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.004054, allocations: 3.984 kB / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.004056, allocations: 1.062 kB / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.129e-05/0.004067, allocations: 13.78 kB / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.004067, allocations: 0 / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001064/0.004174, allocations: 4.656 kB / 0.7329 GB, free: 0.7109 MB / 0.698 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 6.031e-05/0.004234, allocations: 73.48 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.261e-05/0.004286, allocations: 17.69 kB / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.004291, allocations: 4 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.004303, allocations: 10.11 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.004424, allocations: 11.94 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.004729, allocations: 114.6 kB / 0.7331 GB, free: 456 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.00476, allocations: 59.91 kB / 0.7332 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.574e-05/0.004776, allocations: 1.781 kB / 0.7332 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.004811, allocations: 51.38 kB / 0.7332 GB, free: 324 kB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.004811, allocations: 0 / 0.7332 GB, free: 324 kB / 0.698 GB Notification: Performance of Templates: time 0.001802/0.006614, allocations: 465.2 kB / 0.7337 GB, free: 15.88 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.ref.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: 4.9920211136341095]