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.00654/0.00654, allocations: 101.7 kB / 15.88 MB, free: 5.863 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.001693/0.001693, allocations: 193.5 kB / 16.79 MB, free: 5.805 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.516 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.575/2.575, allocations: 390.2 MB / 0.6649 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.89 kB / 0.8125 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6772, allocations: 140.4 MB / 0.9496 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.002133/0.6794, allocations: 0.7197 MB / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001626/0.6796, allocations: 6.75 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.6797, allocations: 3.938 kB / 0.9503 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.6798, allocations: 1.375 kB / 0.9503 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.6799, allocations: 7.984 kB / 0.9503 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.379e-05/0.68, allocations: 6.75 kB / 0.9503 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.6801, allocations: 36.41 kB / 0.9504 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.6802, allocations: 31.11 kB / 0.9504 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.6802, allocations: 12.06 kB / 0.9504 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.6803, allocations: 16.05 kB / 0.9504 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.6803, allocations: 1.375 kB / 0.9504 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.6803, allocations: 2.75 kB / 0.9504 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.6804, allocations: 6.688 kB / 0.9504 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.6804, allocations: 23.98 kB / 0.9505 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.723e-05/0.6805, allocations: 30.94 kB / 0.9505 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6805, allocations: 5.375 kB / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.91e-07/0.6805, allocations: 0 / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.6805, allocations: 0 / 0.9505 GB, free: 8.426 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.0003158/0.6808, allocations: 353.1 kB / 0.9508 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6809, allocations: 9.625 kB / 0.9508 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.6809, allocations: 3.688 kB / 0.9508 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.6811, allocations: 183 kB / 0.951 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.6811, allocations: 7.125 kB / 0.951 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.6811, allocations: 3.125 kB / 0.951 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.6813, allocations: 84.5 kB / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6813, allocations: 192 / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.6813, allocations: 7.938 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6813, allocations: 1.469 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.6814, allocations: 48.91 kB / 0.9512 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.6819, allocations: 484.7 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.341e-05/0.6819, allocations: 170.5 kB / 0.9518 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.6819, allocations: 80.14 kB / 0.9519 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.682, allocations: 83.22 kB / 0.9519 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.682, allocations: 107.2 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.682, allocations: 3.938 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.767e-05/0.6821, allocations: 32.58 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.6821, allocations: 130.7 kB / 0.9522 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.6823, allocations: 172.5 kB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.6823, allocations: 25.7 kB / 0.9524 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.6824, allocations: 95.91 kB / 0.9525 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.6824, allocations: 1.156 kB / 0.9525 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.6824, allocations: 16.44 kB / 0.9525 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.6825, allocations: 321.2 kB / 0.9528 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.6825, allocations: 3.625 kB / 0.9528 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.532e-05/0.6825, allocations: 20.23 kB / 0.9528 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.6825, allocations: 9.828 kB / 0.9528 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6826, allocations: 1.453 kB / 0.9528 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001181/0.6827, allocations: 55.89 kB / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6827, allocations: 5.844 kB / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6827, allocations: 0.9375 kB / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.6827, allocations: 0 / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.6828, allocations: 2.875 kB / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6828, allocations: 9.094 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.6828, allocations: 8.406 kB / 0.9529 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.6829, allocations: 1.5 kB / 0.9529 GB, free: 5.949 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 6.845e-05/0.6829, allocations: 198.4 kB / 0.9531 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.683, allocations: 103.6 kB / 0.9532 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.683, allocations: 120.9 kB / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.683, allocations: 185.4 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/0.6831, allocations: 184.2 kB / 0.9537 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.6831, allocations: 181.8 kB / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.6833, allocations: 426.3 kB / 0.9543 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.6833, allocations: 101 kB / 0.9544 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.6833, allocations: 111.7 kB / 0.9545 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.663e-05/0.6833, allocations: 181.5 kB / 0.9546 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.6834, allocations: 181.3 kB / 0.9548 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.571e-05/0.6834, allocations: 177.3 kB / 0.955 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.633e-05/0.6834, allocations: 188.2 kB / 0.9552 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.867e-05/0.6835, allocations: 310 kB / 0.9555 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.6836, allocations: 197.1 kB / 0.9556 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.6836, allocations: 178.4 kB / 0.9558 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.6837, allocations: 102.5 kB / 0.9559 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.6837, allocations: 185.5 kB / 0.9561 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.6837, allocations: 101.3 kB / 0.9562 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.861e-05/0.6838, allocations: 136.2 kB / 0.9563 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6838, allocations: 0 / 0.9563 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00023/0.6841, allocations: 9.188 kB / 0.9563 GB, free: 2.32 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.0001321/0.6842, allocations: 173.1 kB / 0.9565 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.059e-05/0.6843, allocations: 18.23 kB / 0.9565 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6843, allocations: 0 / 0.9565 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.6843, allocations: 1.5 kB / 0.9565 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.6847, allocations: 0.5291 MB / 0.957 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.685, allocations: 245.8 kB / 0.9573 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.6851, allocations: 0.6996 MB / 0.9579 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.6851, allocations: 10.75 kB / 0.9579 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/0.6851, allocations: 0 / 0.9579 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of Templates: time 0.002176/0.6873, allocations: 0.7491 MB / 0.9587 GB, free: 288 kB / 0.7169 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