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.0009993/0.0009994, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001072/0.001072, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.3 MB / 240 MB, free: 5.395 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.607/2.607, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.811, allocations: 142.4 MB / 0.9545 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.0009088/0.812, allocations: 381.2 kB / 0.9548 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001687/0.8122, allocations: 10.16 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.8122, allocations: 1.125 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.8123, allocations: 7.922 kB / 0.9548 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.8124, allocations: 1.906 kB / 0.9548 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.79e-05/0.8125, allocations: 9.062 kB / 0.9548 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.8126, allocations: 38.28 kB / 0.9549 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.8127, allocations: 24.36 kB / 0.9549 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.8128, allocations: 6.406 kB / 0.9549 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.415e-05/0.8128, allocations: 10.06 kB / 0.9549 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.8128, allocations: 8.984 kB / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.8129, allocations: 1.125 kB / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.8129, allocations: 2.5 kB / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.8129, allocations: 32.02 kB / 0.955 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.313e-05/0.813, allocations: 31.02 kB / 0.955 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.813, allocations: 4 kB / 0.955 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.813, allocations: 9 kB / 0.955 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.813, allocations: 0 / 0.955 GB, free: 7.32 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.0002603/0.8133, allocations: 339.1 kB / 0.9553 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.8134, allocations: 13.56 kB / 0.9553 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.8134, allocations: 10.98 kB / 0.9554 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.8135, allocations: 178.5 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.8136, allocations: 2.062 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.8136, allocations: 11.39 kB / 0.9555 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.8137, allocations: 75.59 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.8138, allocations: 0 / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.8138, allocations: 0 / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8138, allocations: 1.5 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.8139, allocations: 55.73 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.8143, allocations: 496.3 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.841e-05/0.8144, allocations: 171.2 kB / 0.9563 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.8144, allocations: 80.14 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.8144, allocations: 75.28 kB / 0.9564 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.8145, allocations: 111.2 kB / 0.9566 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.8145, allocations: 3.938 kB / 0.9566 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.064e-05/0.8146, allocations: 32.95 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.8146, allocations: 130.7 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.8148, allocations: 173.9 kB / 0.9569 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.8148, allocations: 25.7 kB / 0.9569 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.8148, allocations: 95.45 kB / 0.957 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-06/0.8148, allocations: 5.094 kB / 0.957 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.8148, allocations: 0 / 0.957 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.8149, allocations: 317.1 kB / 0.9573 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.8149, allocations: 8.281 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.432e-05/0.8149, allocations: 7.609 kB / 0.9573 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.815, allocations: 9.438 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.815, allocations: 3.953 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001249/0.8151, allocations: 51.52 kB / 0.9574 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8152, allocations: 9.719 kB / 0.9574 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.8152, allocations: 3.938 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8152, allocations: 1.125 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.8152, allocations: 2.5 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.8153, allocations: 0 / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.8153, allocations: 8.219 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.8153, allocations: 1.25 kB / 0.9574 GB, free: 4.871 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.8154, allocations: 191 kB / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.8154, allocations: 116.3 kB / 0.9577 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.8155, allocations: 123.9 kB / 0.9578 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.8155, allocations: 185.2 kB / 0.958 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/0.8155, allocations: 177.4 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.8156, allocations: 181.3 kB / 0.9583 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.8157, allocations: 426 kB / 0.9587 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.8157, allocations: 110 kB / 0.9588 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.8158, allocations: 105.9 kB / 0.9589 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-05/0.8158, allocations: 178.8 kB / 0.9591 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.8158, allocations: 185.4 kB / 0.9593 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-05/0.8159, allocations: 176.3 kB / 0.9595 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-05/0.8159, allocations: 189.3 kB / 0.9596 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.497e-05/0.816, allocations: 305.4 kB / 0.9599 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.8161, allocations: 190.6 kB / 0.9601 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.8161, allocations: 186.3 kB / 0.9603 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.8162, allocations: 106.2 kB / 0.9604 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.8162, allocations: 185.3 kB / 0.9606 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.8163, allocations: 102.2 kB / 0.9607 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.99e-05/0.8163, allocations: 133 kB / 0.9608 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8164, allocations: 1.312 kB / 0.9608 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002387/0.8166, allocations: 4.625 kB / 0.9608 GB, free: 1.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/0.8168, allocations: 180.5 kB / 0.961 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.488e-05/0.8168, allocations: 13.89 kB / 0.961 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8169, allocations: 0 / 0.961 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.8169, allocations: 1 kB / 0.961 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.8173, allocations: 0.5241 MB / 0.9615 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.8175, allocations: 222 kB / 0.9617 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.8178, allocations: 0.6997 MB / 0.9624 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.8178, allocations: 5.281 kB / 0.9624 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.8179, allocations: 10.25 kB / 0.9624 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.8179, allocations: 0 / 0.9624 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.00257/0.8204, allocations: 428.8 kB / 0.9628 GB, free: 15.39 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