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.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.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.001111/0.001111, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009848/0.009848, allocations: 170 kB / 16.26 MB, free: 6.613 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.551/1.551, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.563/2.563, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8175, allocations: 142.4 MB / 0.9551 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001346/0.8189, allocations: 391 kB / 0.9554 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001996/0.8191, allocations: 10.52 kB / 0.9554 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.8192, allocations: 5.094 kB / 0.9554 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.8193, allocations: 0 / 0.9554 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.8194, allocations: 1 kB / 0.9554 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.8196, allocations: 5.844 kB / 0.9555 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.8197, allocations: 40.34 kB / 0.9555 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.8199, allocations: 30.86 kB / 0.9555 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.82, allocations: 6.656 kB / 0.9555 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.82, allocations: 14.02 kB / 0.9555 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.82, allocations: 1.031 kB / 0.9555 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.8201, allocations: 1.094 kB / 0.9555 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.8201, allocations: 7.406 kB / 0.9556 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.8202, allocations: 48.72 kB / 0.9556 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.8203, allocations: 35.19 kB / 0.9556 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8203, allocations: 1.188 kB / 0.9556 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.086e-06/0.8203, allocations: 0 / 0.9556 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.8203, allocations: 0 / 0.9556 GB, free: 7.328 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.0004904/0.8208, allocations: 336.9 kB / 0.956 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.8209, allocations: 13.41 kB / 0.956 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.821, allocations: 8.156 kB / 0.956 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.8211, allocations: 192 kB / 0.9562 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.8212, allocations: 5.562 kB / 0.9562 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.8212, allocations: 11.53 kB / 0.9562 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.8214, allocations: 76 kB / 0.9562 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.8214, allocations: 1.344 kB / 0.9562 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.8214, allocations: 3.938 kB / 0.9563 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8214, allocations: 1.094 kB / 0.9563 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.8215, allocations: 49.06 kB / 0.9563 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.822, allocations: 491.9 kB / 0.9568 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/0.8221, allocations: 166.3 kB / 0.9569 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.8221, allocations: 81.17 kB / 0.957 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.8222, allocations: 79.22 kB / 0.9571 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.8222, allocations: 110.8 kB / 0.9572 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 2.364e-06/0.8222, allocations: 3.984 kB / 0.9572 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.116e-05/0.8223, allocations: 33.11 kB / 0.9572 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.8223, allocations: 126.7 kB / 0.9573 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.8225, allocations: 178.8 kB / 0.9575 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.8225, allocations: 25.7 kB / 0.9575 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.8226, allocations: 92.11 kB / 0.9576 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-06/0.8226, allocations: 4 kB / 0.9576 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.8226, allocations: 13.72 kB / 0.9576 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.8227, allocations: 317.3 kB / 0.9579 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.8227, allocations: 8.203 kB / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/0.8227, allocations: 16.3 kB / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.8228, allocations: 18.59 kB / 0.958 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.8228, allocations: 0 / 0.958 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001125/0.8229, allocations: 48.09 kB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.8229, allocations: 8.719 kB / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.8229, allocations: 0 / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.823, allocations: 1.219 kB / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.823, allocations: 2.344 kB / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.823, allocations: 3.938 kB / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.8231, allocations: 8.812 kB / 0.9581 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.8231, allocations: 1.188 kB / 0.9581 GB, free: 4.852 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.495e-05/0.8232, allocations: 195.3 kB / 0.9582 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.8232, allocations: 119.6 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.8232, allocations: 116 kB / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.8233, allocations: 181.2 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.378e-05/0.8233, allocations: 181.6 kB / 0.9588 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.255e-05/0.8233, allocations: 185.5 kB / 0.959 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.8235, allocations: 425.9 kB / 0.9594 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.8236, allocations: 101 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.8236, allocations: 106 kB / 0.9596 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.979e-05/0.8236, allocations: 179.2 kB / 0.9598 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.8236, allocations: 185.3 kB / 0.9599 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.35e-05/0.8237, allocations: 185.4 kB / 0.9601 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.313e-05/0.8237, allocations: 184.2 kB / 0.9603 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.744e-05/0.8238, allocations: 310.2 kB / 0.9606 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.8239, allocations: 194.8 kB / 0.9608 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.8239, allocations: 177.7 kB / 0.9609 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.824, allocations: 105.6 kB / 0.961 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.824, allocations: 189.6 kB / 0.9612 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.824, allocations: 106.8 kB / 0.9613 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.704e-05/0.8241, allocations: 124.9 kB / 0.9614 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8241, allocations: 0 / 0.9614 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002214/0.8244, allocations: 5.594 kB / 0.9615 GB, free: 1.227 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.0001418/0.8245, allocations: 181.1 kB / 0.9616 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.066e-05/0.8246, allocations: 13.69 kB / 0.9616 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8246, allocations: 0 / 0.9616 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.8246, allocations: 3.938 kB / 0.9616 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.825, allocations: 0.5287 MB / 0.9622 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.8252, allocations: 222.5 kB / 0.9624 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.8255, allocations: 0.6938 MB / 0.963 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.8255, allocations: 6.094 kB / 0.9631 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.8255, allocations: 9.375 kB / 0.9631 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.8255, allocations: 0 / 0.9631 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.002382/0.8279, allocations: 442.3 kB / 0.9635 GB, free: 15.37 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/jenkins/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