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.001665/0.001665, allocations: 81.23 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001495/0.001495, allocations: 168.9 kB / 22.46 MB, free: 5.371 MB / 14.72 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.479/1.479, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 3.022/3.022, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.485e-06/2.485e-06, allocations: 0 / 1 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.595e-05, allocations: 2.281 kB / 1 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002231/0.002266, allocations: 0.6659 MB / 1.001 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003453, allocations: 0.8393 MB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.003492, allocations: 4 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.003528, allocations: 3.938 kB / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.003593, allocations: 0 / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.003798, allocations: 11.98 kB / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.386e-05/0.003882, allocations: 23.92 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.003995, allocations: 4 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.004088, allocations: 15.92 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.004133, allocations: 7.984 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.004155, allocations: 4 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.004215, allocations: 8 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.004233, allocations: 7.984 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.004256, allocations: 7.938 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.004364, allocations: 27.84 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.004367, allocations: 0 / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004368, allocations: 0 / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.00438, allocations: 3.984 kB / 1.002 GB, free: 5.531 MB / 0.9512 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.000492/0.004872, allocations: 258.4 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.004913, allocations: 12.02 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.413e-05/0.005007, allocations: 4.938 kB / 1.002 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.005134, allocations: 109.8 kB / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.005146, allocations: 4.375 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.005159, allocations: 384 / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.005365, allocations: 50.23 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.005374, allocations: 192 / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.005384, allocations: 384 / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.005389, allocations: 384 / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.005577, allocations: 47.77 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.005925, allocations: 200.6 kB / 1.002 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.006077, allocations: 34.56 kB / 1.002 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.006175, allocations: 20.89 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.006199, allocations: 4 kB / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.006239, allocations: 34.56 kB / 1.003 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.006241, allocations: 0 / 1.003 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004284/0.006669, allocations: 93.47 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.006721, allocations: 51.41 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.006819, allocations: 97.86 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.006837, allocations: 29.64 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.006896, allocations: 88.14 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.006918, allocations: 7.938 kB / 1.003 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.006955, allocations: 9.719 kB / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.00712, allocations: 314.8 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.007209, allocations: 15.98 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.007288, allocations: 20.09 kB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.007461, allocations: 44.77 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007463, allocations: 0 / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002111/0.007674, allocations: 65.66 kB / 1.003 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.00769, allocations: 4 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.0077, allocations: 8.031 kB / 1.003 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.007718, allocations: 4 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.007808, allocations: 8 kB / 1.003 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.007815, allocations: 3.984 kB / 1.003 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.007864, allocations: 4 kB / 1.003 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.00787, allocations: 0 / 1.003 GB, free: 3.738 MB / 0.9512 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 0.0001006/0.00797, allocations: 110.4 kB / 1.003 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.007995, allocations: 0 / 1.003 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.008255, allocations: 84.83 kB / 1.004 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.008258, allocations: 4 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.008262, allocations: 0 / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.008265, allocations: 0 / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.008407, allocations: 105.3 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008409, allocations: 0 / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.008476, allocations: 11.98 kB / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.008478, allocations: 0 / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.008485, allocations: 0 / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.008488, allocations: 3.938 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008489, allocations: 4.031 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.00876, allocations: 163.6 kB / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.008767, allocations: 0 / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.008787, allocations: 19.91 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.008869, allocations: 7.938 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.008905, allocations: 3.984 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.008908, allocations: 0 / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.008956, allocations: 83.22 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.008956, allocations: 4.031 kB / 1.004 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002289/0.009185, allocations: 4 kB / 1.004 GB, free: 3.074 MB / 0.9512 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 0.0001273/0.009312, allocations: 91.25 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.009542, allocations: 39.95 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.009546, allocations: 4 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.009635, allocations: 11.98 kB / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.009955, allocations: 12.06 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.0103, allocations: 112.8 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.583e-05/0.01037, allocations: 59.34 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.01039, allocations: 0 / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.01042, allocations: 8.5 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.01042, allocations: 4 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of Templates: time 0.003711/0.01413, allocations: 471.8 kB / 1.005 GB, free: 2.23 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.346521276980639]