Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003656, allocations: 20 kB / 0.8167 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8156, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.0007086/0.8163, allocations: 391.1 kB / 0.9561 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.494e-05/0.8164, allocations: 14.89 kB / 0.9561 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.8165, allocations: 4 kB / 0.9561 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.174e-05/0.8166, allocations: 5.391 kB / 0.9561 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.8166, allocations: 0 / 0.9561 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.689e-05/0.8167, allocations: 6.875 kB / 0.9561 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.8168, allocations: 43.88 kB / 0.9562 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.817, allocations: 22.5 kB / 0.9562 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.817, allocations: 10.66 kB / 0.9562 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.817, allocations: 10.42 kB / 0.9562 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.817, allocations: 1.188 kB / 0.9562 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.8171, allocations: 1.094 kB / 0.9562 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.8171, allocations: 6.438 kB / 0.9562 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.8171, allocations: 45.41 kB / 0.9563 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.078e-05/0.8172, allocations: 34.75 kB / 0.9563 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8172, allocations: 0 / 0.9563 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8172, allocations: 0 / 0.9563 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.8172, allocations: 0 / 0.9563 GB, free: 7.242 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.0002806/0.8175, allocations: 339.6 kB / 0.9566 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.8176, allocations: 9.344 kB / 0.9566 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.8176, allocations: 11.78 kB / 0.9566 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.8178, allocations: 189 kB / 0.9568 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.8178, allocations: 5.906 kB / 0.9568 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.8178, allocations: 2.938 kB / 0.9568 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.818, allocations: 84 kB / 0.9569 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.818, allocations: 192 / 0.9569 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.818, allocations: 4.875 kB / 0.9569 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.818, allocations: 2.406 kB / 0.9569 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.8181, allocations: 47.28 kB / 0.957 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.8185, allocations: 484.2 kB / 0.9574 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.016e-05/0.8186, allocations: 182.6 kB / 0.9576 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.8186, allocations: 85.45 kB / 0.9577 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.8186, allocations: 75.28 kB / 0.9577 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.8186, allocations: 107.4 kB / 0.9578 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8186, allocations: 0 / 0.9578 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.161e-05/0.8187, allocations: 36.39 kB / 0.9579 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.8187, allocations: 126.7 kB / 0.958 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.8189, allocations: 178 kB / 0.9582 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.8189, allocations: 25.7 kB / 0.9582 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.8189, allocations: 99.77 kB / 0.9583 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.8189, allocations: 0 / 0.9583 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.819, allocations: 10.88 kB / 0.9583 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.819, allocations: 317.3 kB / 0.9586 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.8191, allocations: 11.45 kB / 0.9586 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.8191, allocations: 12.14 kB / 0.9586 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.8191, allocations: 10.08 kB / 0.9586 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8191, allocations: 1.031 kB / 0.9586 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000114/0.8192, allocations: 56.19 kB / 0.9587 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8193, allocations: 8.328 kB / 0.9587 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.8193, allocations: 0 / 0.9587 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.8193, allocations: 1.375 kB / 0.9587 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.8193, allocations: 10.81 kB / 0.9587 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8194, allocations: 3.938 kB / 0.9587 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.8194, allocations: 4.312 kB / 0.9587 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.8194, allocations: 1.375 kB / 0.9587 GB, free: 4.758 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.606e-05/0.8195, allocations: 194.9 kB / 0.9589 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.8195, allocations: 107.7 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.8196, allocations: 124.2 kB / 0.9591 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.8196, allocations: 181.6 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/0.8196, allocations: 182 kB / 0.9595 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.8197, allocations: 184.3 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.8198, allocations: 422.2 kB / 0.9601 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.8198, allocations: 106.3 kB / 0.9602 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.8199, allocations: 105 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.463e-05/0.8199, allocations: 182.7 kB / 0.9604 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.8199, allocations: 181.1 kB / 0.9606 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.289e-05/0.8199, allocations: 177.2 kB / 0.9608 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.448e-05/0.82, allocations: 189.2 kB / 0.961 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.018e-05/0.82, allocations: 309.5 kB / 0.9612 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.8201, allocations: 194.8 kB / 0.9614 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.8201, allocations: 181.7 kB / 0.9616 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.005e-05/0.8202, allocations: 111 kB / 0.9617 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.8202, allocations: 180.2 kB / 0.9619 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.8203, allocations: 106.4 kB / 0.962 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.716e-05/0.8204, allocations: 134.1 kB / 0.9621 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.042e-06/0.8204, allocations: 0 / 0.9621 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002117/0.8206, allocations: 8.781 kB / 0.9621 GB, free: 1.129 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.0001369/0.8207, allocations: 174 kB / 0.9623 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.601e-05/0.8208, allocations: 13.08 kB / 0.9623 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8208, allocations: 1 kB / 0.9623 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.8208, allocations: 4.062 kB / 0.9623 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.8212, allocations: 0.5214 MB / 0.9628 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.8215, allocations: 246 kB / 0.963 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.8217, allocations: 0.6966 MB / 0.9637 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8218, allocations: 10.16 kB / 0.9637 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of SimCode: time 2.174e-06/0.8218, allocations: 3.938 kB / 0.9637 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.002243/0.824, allocations: 0.7557 MB / 0.9645 GB, free: 15.09 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches