Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001774/0.001774, allocations: 80.25 kB / 19.18 MB, free: 2.527 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.002797/0.002797, allocations: 164.2 kB / 22.46 MB, free: 5.359 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.545/1.545, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.989/2.989, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.766e-06/2.766e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.63e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002476/0.002513, allocations: 0.7023 MB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.003994, allocations: 0.8315 MB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.00405, allocations: 0 / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.985e-05/0.00409, allocations: 3.938 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.004193, allocations: 15.86 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.004312, allocations: 7.984 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.004425, allocations: 51.84 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.004538, allocations: 7.984 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.004638, allocations: 23.98 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.004696, allocations: 15.98 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.004719, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.004732, allocations: 7.938 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.004757, allocations: 7.984 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.004785, allocations: 8 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.004902, allocations: 51.78 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004904, allocations: 3.938 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004905, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.00491, allocations: 4 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005361/0.005446, allocations: 282.2 kB / 0.9835 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.005486, allocations: 8.031 kB / 0.9835 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.005522, allocations: 8.891 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.005638, allocations: 105.8 kB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.005655, allocations: 12.3 kB / 0.9836 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.005668, allocations: 4.375 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.005929, allocations: 62.22 kB / 0.9837 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.005939, allocations: 4.188 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005951, allocations: 4.375 kB / 0.9837 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.005955, allocations: 384 / 0.9837 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.006259, allocations: 71.86 kB / 0.9837 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.006613, allocations: 212.5 kB / 0.9839 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.006828, allocations: 62.45 kB / 0.984 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.006987, allocations: 36.92 kB / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.007011, allocations: 0 / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.007044, allocations: 34.56 kB / 0.9841 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.007045, allocations: 0 / 0.9841 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005877/0.007633, allocations: 133.5 kB / 0.9842 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.007678, allocations: 59.34 kB / 0.9843 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.007772, allocations: 105.8 kB / 0.9844 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.00779, allocations: 25.7 kB / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.007844, allocations: 92.08 kB / 0.9845 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.007866, allocations: 11.89 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.007907, allocations: 21.7 kB / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.008051, allocations: 310.8 kB / 0.9848 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.008205, allocations: 35.95 kB / 0.9848 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.008344, allocations: 31.97 kB / 0.9849 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.008631, allocations: 68.78 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.008633, allocations: 0 / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003404/0.008973, allocations: 101.6 kB / 0.985 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.008991, allocations: 7.938 kB / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.008995, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.009011, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.009144, allocations: 15.98 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.009153, allocations: 3.984 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.009235, allocations: 11.98 kB / 0.9851 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/0.009243, allocations: 4 kB / 0.9851 GB, free: 8.066 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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 9.493e-05/0.009338, allocations: 117.8 kB / 0.9852 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.009364, allocations: 3.953 kB / 0.9852 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.009757, allocations: 113.5 kB / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009759, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.009764, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.009766, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.009911, allocations: 113.3 kB / 0.9854 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.009912, allocations: 0 / 0.9854 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.01001, allocations: 23.91 kB / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01002, allocations: 0 / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.01002, allocations: 0 / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01003, allocations: 3.938 kB / 0.9854 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01003, allocations: 0 / 0.9854 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.01042, allocations: 199.8 kB / 0.9856 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.01043, allocations: 48 / 0.9856 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01045, allocations: 7.969 kB / 0.9856 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.01057, allocations: 15.92 kB / 0.9856 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.01061, allocations: 4 kB / 0.9856 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.01061, allocations: 8 kB / 0.9856 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.01066, allocations: 83.27 kB / 0.9857 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01066, allocations: 3.938 kB / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002305/0.01089, allocations: 12 kB / 0.9857 GB, free: 7.309 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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.0001372/0.01103, allocations: 103.7 kB / 0.9858 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.0114, allocations: 67.92 kB / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0114, allocations: 0 / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.01156, allocations: 35.95 kB / 0.9859 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.01191, allocations: 8 kB / 0.9859 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.01229, allocations: 128.8 kB / 0.9861 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.665e-05/0.01236, allocations: 71.22 kB / 0.9861 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.01238, allocations: 0 / 0.9861 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.01242, allocations: 8.5 kB / 0.9861 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.01242, allocations: 4 kB / 0.9861 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of Templates: time 0.003374/0.01579, allocations: 0.7237 MB / 0.9869 GB, free: 6.117 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.505136765539646]