Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.002073/0.002073, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002546/0.002546, allocations: 165.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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.184 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 2.984/2.984, allocations: 389 MB / 0.633 GB, free: 1.008 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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.461e-05, allocations: 2.281 kB / 1 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002088/0.002123, allocations: 0.6542 MB / 1.001 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002032/0.002326, allocations: 11.92 kB / 1.001 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.002376, allocations: 7.938 kB / 1.001 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.002497, allocations: 0 / 1.001 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.002538, allocations: 3.938 kB / 1.001 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.429e-05/0.002612, allocations: 0 / 1.001 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.002719, allocations: 39.83 kB / 1.001 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.002862, allocations: 12 kB / 1.001 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.002919, allocations: 23.98 kB / 1.001 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.002967, allocations: 19.91 kB / 1.001 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.002992, allocations: 4 kB / 1.001 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.003007, allocations: 4 kB / 1.001 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.003043, allocations: 4 kB / 1.001 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.003092, allocations: 15.92 kB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.003239, allocations: 47.86 kB / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003241, allocations: 0 / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003242, allocations: 0 / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.003247, allocations: 0 / 1.001 GB, free: 6.375 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004393/0.003687, allocations: 274.2 kB / 1.001 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.003728, allocations: 12.03 kB / 1.001 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.003773, allocations: 8.891 kB / 1.001 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.003982, allocations: 129.6 kB / 1.001 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.003996, allocations: 384 / 1.001 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.004009, allocations: 4.375 kB / 1.001 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.004193, allocations: 82.22 kB / 1.002 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.004204, allocations: 192 / 1.002 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.004214, allocations: 384 / 1.002 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.00422, allocations: 384 / 1.002 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.00431, allocations: 59.78 kB / 1.002 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.004865, allocations: 406.9 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.004977, allocations: 173.1 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.005022, allocations: 80.14 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.005057, allocations: 79.22 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/0.005123, allocations: 109.8 kB / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/0.005124, allocations: 0 / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.421e-05/0.005218, allocations: 37.64 kB / 1.002 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/0.005309, allocations: 126.7 kB / 1.003 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.005454, allocations: 121.8 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.005471, allocations: 25.7 kB / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.005566, allocations: 104 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.005569, allocations: 4 kB / 1.003 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.005614, allocations: 13.72 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.005777, allocations: 326.8 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.005796, allocations: 4 kB / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.005813, allocations: 11.92 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.005857, allocations: 12.86 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.005863, allocations: 4 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001464/0.006009, allocations: 49.67 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.006028, allocations: 10.03 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.006033, allocations: 4.094 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.006048, allocations: 0 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.006105, allocations: 4 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.006111, allocations: 0 / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.006134, allocations: 4 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.006146, allocations: 0 / 1.003 GB, free: 3.961 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 (1): * Single equations (assignments): 1 * 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.0001461/0.006292, allocations: 201.7 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.006368, allocations: 108.9 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.88e-05/0.006437, allocations: 112.4 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-05/0.006523, allocations: 180.2 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-05/0.006616, allocations: 180.3 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.375e-05/0.006709, allocations: 188.2 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.006984, allocations: 376.8 kB / 1.004 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.985e-05/0.007034, allocations: 101 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.00709, allocations: 108.9 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.007195, allocations: 176.3 kB / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.007318, allocations: 180.3 kB / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-05/0.007411, allocations: 184.2 kB / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001025/0.007513, allocations: 180.5 kB / 1.005 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.007775, allocations: 311.7 kB / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.007838, allocations: 112.9 kB / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.007947, allocations: 188.2 kB / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.008049, allocations: 105 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/0.008137, allocations: 180.2 kB / 1.006 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.008202, allocations: 105 kB / 1.006 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.634e-05/0.008289, allocations: 99.27 kB / 1.006 GB, free: 480 kB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.008289, allocations: 0 / 1.006 GB, free: 480 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002425/0.008531, allocations: 7.938 kB / 1.006 GB, free: 472 kB / 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 (0): * Single equations (assignments): 0 * 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.0002083/0.00874, allocations: 170.5 kB / 1.007 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.679e-05/0.008836, allocations: 11.94 kB / 1.007 GB, free: 280 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.008838, allocations: 4.062 kB / 1.007 GB, free: 276 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.00884, allocations: 0 / 1.007 GB, free: 276 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.009399, allocations: 463.6 kB / 1.007 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.00977, allocations: 208.1 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.009852, allocations: 75.33 kB / 1.007 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.009876, allocations: 4 kB / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.009906, allocations: 8.5 kB / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.009906, allocations: 0 / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.002863/0.01277, allocations: 321 kB / 1.008 GB, free: 15.17 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.295185968279839]