Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001478/0.001478, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001576/0.001576, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.499/1.499, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.784/2.784, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.423e-05/3.728e-05, allocations: 10.22 kB / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002261/0.002298, allocations: 0.6594 MB / 0.7871 GB, free: 11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.003728, allocations: 0.8432 MB / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.003766, allocations: 1.219 kB / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.003793, allocations: 0 / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.003869, allocations: 7.875 kB / 0.7879 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.004057, allocations: 12.89 kB / 0.7879 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.004143, allocations: 23.94 kB / 0.788 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.004235, allocations: 3.984 kB / 0.788 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.074e-05/0.004326, allocations: 8.844 kB / 0.788 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.766e-05/0.004373, allocations: 15.97 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.004389, allocations: 4.5 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.004443, allocations: 9.156 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.004459, allocations: 0 / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.004487, allocations: 7.984 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.004611, allocations: 27.91 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004613, allocations: 4.5 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004614, allocations: 0.875 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.004619, allocations: 0 / 0.788 GB, free: 10.02 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.0005169/0.005136, allocations: 263.3 kB / 0.7883 GB, free: 9.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.005182, allocations: 8.031 kB / 0.7883 GB, free: 9.723 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.005294, allocations: 13.48 kB / 0.7883 GB, free: 9.711 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.005442, allocations: 105.8 kB / 0.7884 GB, free: 9.582 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.005456, allocations: 1.906 kB / 0.7884 GB, free: 9.582 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.005464, allocations: 4.375 kB / 0.7884 GB, free: 9.578 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.005665, allocations: 50.23 kB / 0.7885 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.005674, allocations: 1.781 kB / 0.7885 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.005684, allocations: 384 / 0.7885 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.005689, allocations: 384 / 0.7885 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.00617, allocations: 43.28 kB / 0.7885 GB, free: 9.484 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.006578, allocations: 196.6 kB / 0.7887 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.006728, allocations: 34.56 kB / 0.7887 GB, free: 9.219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.00682, allocations: 16.91 kB / 0.7887 GB, free: 9.199 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.006844, allocations: 0 / 0.7887 GB, free: 9.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.006892, allocations: 42.55 kB / 0.7888 GB, free: 9.148 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.537e-06/0.006896, allocations: 4.734 kB / 0.7888 GB, free: 9.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000421/0.007317, allocations: 83.41 kB / 0.7889 GB, free: 9.059 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.007371, allocations: 55.39 kB / 0.7889 GB, free: 8.992 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.007475, allocations: 97.86 kB / 0.789 GB, free: 8.887 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.00751, allocations: 26.33 kB / 0.789 GB, free: 8.855 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.007583, allocations: 88.09 kB / 0.7891 GB, free: 8.766 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.007607, allocations: 13.02 kB / 0.7891 GB, free: 8.754 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.007649, allocations: 13.7 kB / 0.7892 GB, free: 8.734 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.007845, allocations: 314.8 kB / 0.7895 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.007938, allocations: 16.73 kB / 0.7895 GB, free: 8.402 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.00801, allocations: 12.7 kB / 0.7895 GB, free: 8.391 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.008177, allocations: 46.66 kB / 0.7895 GB, free: 8.344 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.008178, allocations: 0 / 0.7895 GB, free: 8.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002279/0.008406, allocations: 66.98 kB / 0.7896 GB, free: 8.273 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.008423, allocations: 5.531 kB / 0.7896 GB, free: 8.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.008436, allocations: 7.922 kB / 0.7896 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.008456, allocations: 4 kB / 0.7896 GB, free: 8.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.008549, allocations: 4 kB / 0.7896 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.008554, allocations: 0.5 kB / 0.7896 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.008606, allocations: 8.547 kB / 0.7896 GB, free: 8.246 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.008612, allocations: 1.375 kB / 0.7896 GB, free: 8.246 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 0.0001104/0.008723, allocations: 109.8 kB / 0.7897 GB, free: 8.129 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.008752, allocations: 3.938 kB / 0.7897 GB, free: 8.125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.009019, allocations: 83.44 kB / 0.7898 GB, free: 8.039 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.009024, allocations: 4 kB / 0.7898 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.009033, allocations: 3.984 kB / 0.7898 GB, free: 8.031 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009035, allocations: 0 / 0.7898 GB, free: 8.031 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.009223, allocations: 101.3 kB / 0.7899 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.009225, allocations: 0.5312 kB / 0.7899 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.009306, allocations: 12.7 kB / 0.7899 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.009309, allocations: 0 / 0.7899 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.009315, allocations: 0.5 kB / 0.7899 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.009322, allocations: 3.938 kB / 0.7899 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009323, allocations: 1.094 kB / 0.7899 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.009618, allocations: 164.3 kB / 0.7901 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.00963, allocations: 8 kB / 0.7901 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.009643, allocations: 0.8438 kB / 0.7901 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.009726, allocations: 14.14 kB / 0.7901 GB, free: 7.691 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.009773, allocations: 0 / 0.7901 GB, free: 7.691 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.009776, allocations: 0 / 0.7901 GB, free: 7.691 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.009839, allocations: 83.27 kB / 0.7902 GB, free: 7.609 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.009839, allocations: 0 / 0.7902 GB, free: 7.609 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002342/0.01007, allocations: 4 kB / 0.7902 GB, free: 7.605 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 0.0001826/0.01026, allocations: 102 kB / 0.7903 GB, free: 7.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.0105, allocations: 35.95 kB / 0.7903 GB, free: 7.465 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.01051, allocations: 4 kB / 0.7903 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.01061, allocations: 21.42 kB / 0.7903 GB, free: 7.441 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.01096, allocations: 11.94 kB / 0.7904 GB, free: 7.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.01132, allocations: 105.8 kB / 0.7905 GB, free: 7.301 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.01141, allocations: 63.34 kB / 0.7905 GB, free: 7.219 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.01143, allocations: 1.125 kB / 0.7905 GB, free: 7.219 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.01147, allocations: 8.5 kB / 0.7905 GB, free: 7.211 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.01148, allocations: 0 / 0.7905 GB, free: 7.211 MB / 0.698 GB Notification: Performance of Templates: time 0.00323/0.01471, allocations: 493.5 kB / 0.791 GB, free: 6.742 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.7921485310653225]