Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 193.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 59.91 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8766/0.8782, allocations: 140.4 MB / 0.9491 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002576/0.8808, allocations: 0.7119 MB / 0.9498 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.881, allocations: 5.469 kB / 0.9498 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.881, allocations: 5.188 kB / 0.9498 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.8811, allocations: 3.984 kB / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.8812, allocations: 1.375 kB / 0.9498 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.814e-05/0.8813, allocations: 9.281 kB / 0.9498 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.8814, allocations: 31.02 kB / 0.9499 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.8816, allocations: 29.3 kB / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/0.8816, allocations: 14.19 kB / 0.9499 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.8817, allocations: 20 kB / 0.9499 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.8817, allocations: 6.844 kB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.8817, allocations: 2.531 kB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.8817, allocations: 8.188 kB / 0.9499 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.8818, allocations: 15.78 kB / 0.95 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.8819, allocations: 45.28 kB / 0.95 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8819, allocations: 0 / 0.95 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8819, allocations: 4 kB / 0.95 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.8819, allocations: 1.812 kB / 0.95 GB, free: 8.539 MB / 0.7169 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.0003671/0.8823, allocations: 350.7 kB / 0.9503 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.8824, allocations: 10.09 kB / 0.9504 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.8824, allocations: 3.281 kB / 0.9504 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.8826, allocations: 192.4 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.8826, allocations: 5.688 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.8826, allocations: 4.062 kB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.8828, allocations: 75.61 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8828, allocations: 4.188 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.8828, allocations: 5.625 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8828, allocations: 1.344 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.8829, allocations: 53.08 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.8834, allocations: 479.6 kB / 0.9511 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.459e-05/0.8835, allocations: 170.4 kB / 0.9513 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.8835, allocations: 84.14 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.8835, allocations: 79.22 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.8836, allocations: 110.9 kB / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.8836, allocations: 0 / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.65e-05/0.8836, allocations: 33.39 kB / 0.9516 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.8837, allocations: 126.7 kB / 0.9517 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.8838, allocations: 178.5 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.8838, allocations: 25.7 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.8839, allocations: 96.56 kB / 0.952 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-06/0.8839, allocations: 112 / 0.952 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.8839, allocations: 24.91 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.884, allocations: 312.1 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.884, allocations: 12.02 kB / 0.9523 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.8841, allocations: 13.08 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.8841, allocations: 17.89 kB / 0.9524 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8841, allocations: 0 / 0.9524 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001139/0.8842, allocations: 44.19 kB / 0.9524 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8842, allocations: 9.891 kB / 0.9524 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8843, allocations: 0 / 0.9524 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.8843, allocations: 0 / 0.9524 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.8843, allocations: 2.656 kB / 0.9524 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.8844, allocations: 9.219 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.8844, allocations: 11.91 kB / 0.9524 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.8844, allocations: 5.531 kB / 0.9524 GB, free: 6.055 MB / 0.7169 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 7.575e-05/0.8845, allocations: 190.5 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.8845, allocations: 107.6 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.8846, allocations: 120.8 kB / 0.9528 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.8846, allocations: 181.6 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.194e-05/0.8846, allocations: 188.2 kB / 0.9532 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/0.8847, allocations: 181.6 kB / 0.9534 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.8848, allocations: 425.4 kB / 0.9538 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.8848, allocations: 102.4 kB / 0.9539 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.8849, allocations: 111.7 kB / 0.954 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.837e-05/0.8849, allocations: 177.6 kB / 0.9542 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.8849, allocations: 184.3 kB / 0.9543 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.733e-05/0.885, allocations: 185.6 kB / 0.9545 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.771e-05/0.885, allocations: 181.6 kB / 0.9547 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.831e-05/0.8851, allocations: 313.2 kB / 0.955 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.8851, allocations: 192.7 kB / 0.9552 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.8852, allocations: 177.6 kB / 0.9553 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.8853, allocations: 107.7 kB / 0.9554 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.8853, allocations: 184.1 kB / 0.9556 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.8853, allocations: 106.7 kB / 0.9557 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.14e-05/0.8854, allocations: 129.8 kB / 0.9558 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8854, allocations: 0 / 0.9558 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002372/0.8857, allocations: 9.5 kB / 0.9558 GB, free: 2.43 MB / 0.7169 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.0002001/0.8859, allocations: 177.5 kB / 0.956 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.886, allocations: 17.3 kB / 0.956 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.886, allocations: 0 / 0.956 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.886, allocations: 0.9688 kB / 0.956 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.8865, allocations: 466.7 kB / 0.9565 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.8868, allocations: 218.5 kB / 0.9567 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.8871, allocations: 0.6986 MB / 0.9574 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.8871, allocations: 9.797 kB / 0.9574 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.8872, allocations: 12.72 kB / 0.9574 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8872, allocations: 0 / 0.9574 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of Templates: time 0.003186/0.8904, allocations: 469.6 kB / 0.9578 GB, free: 0.625 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches