Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001456/0.001456, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.618/2.618, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 75.78 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.7541, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001814/0.7559, allocations: 0.6552 MB / 1.084 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001406/0.7561, allocations: 16.23 kB / 1.084 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.7561, allocations: 0.5625 kB / 1.084 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.946e-05/0.7562, allocations: 2.688 kB / 1.084 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.039e-05/0.7563, allocations: 3.938 kB / 1.084 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.544e-05/0.7563, allocations: 3.422 kB / 1.084 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.7564, allocations: 36.23 kB / 1.084 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.7566, allocations: 38.83 kB / 1.084 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.7566, allocations: 14.81 kB / 1.084 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.7566, allocations: 14.05 kB / 1.084 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.7567, allocations: 6.812 kB / 1.084 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.7567, allocations: 2.969 kB / 1.084 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.7567, allocations: 13.66 kB / 1.084 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.7568, allocations: 16.72 kB / 1.084 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.774e-05/0.7568, allocations: 44.25 kB / 1.084 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7569, allocations: 0.8438 kB / 1.084 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7569, allocations: 0 / 1.084 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.7569, allocations: 0 / 1.084 GB, free: 1.133 MB / 0.8262 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.0002491/0.7571, allocations: 355.8 kB / 1.084 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.7572, allocations: 9.875 kB / 1.084 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.7572, allocations: 15.44 kB / 1.084 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.7573, allocations: 182.8 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.7573, allocations: 2.609 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.7574, allocations: 3.625 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.7575, allocations: 82.42 kB / 1.084 GB, free: 500 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.7575, allocations: 192 / 1.084 GB, free: 500 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.7575, allocations: 4.75 kB / 1.084 GB, free: 496 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7575, allocations: 6.312 kB / 1.084 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.107e-05/0.7576, allocations: 52.31 kB / 1.084 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.758, allocations: 487.4 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.7582, allocations: 174.5 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.7582, allocations: 81.55 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.7582, allocations: 79.22 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/0.7583, allocations: 112 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.7583, allocations: 0 / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.08e-05/0.7584, allocations: 28.91 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.7585, allocations: 131.5 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.7587, allocations: 177 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.7587, allocations: 26.48 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.7588, allocations: 94.22 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.7588, allocations: 0 / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.7588, allocations: 16.78 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.759, allocations: 319.7 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.759, allocations: 6.609 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.759, allocations: 10.19 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.7591, allocations: 12.97 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7591, allocations: 0 / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001244/0.7592, allocations: 57.22 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.7592, allocations: 12.16 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.7592, allocations: 0 / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7592, allocations: 0.75 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.7593, allocations: 4.203 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7593, allocations: 3.938 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.7593, allocations: 3.688 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.7594, allocations: 2.812 kB / 1.086 GB, free: 14.74 MB / 0.8419 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 0.000126/0.7595, allocations: 193.5 kB / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.7596, allocations: 113.4 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/0.7597, allocations: 118.1 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.658e-05/0.7597, allocations: 181.9 kB / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-05/0.7598, allocations: 181.7 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.006e-05/0.7599, allocations: 181.9 kB / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.7602, allocations: 419.7 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.655e-05/0.7603, allocations: 109.7 kB / 1.088 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.7603, allocations: 103.3 kB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.558e-05/0.7604, allocations: 177.2 kB / 1.088 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.7605, allocations: 187.5 kB / 1.088 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.312e-05/0.7606, allocations: 182.8 kB / 1.088 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.018e-05/0.7607, allocations: 194.1 kB / 1.088 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.7609, allocations: 307.3 kB / 1.089 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.761, allocations: 187.3 kB / 1.089 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.7611, allocations: 178.5 kB / 1.089 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.7612, allocations: 106.7 kB / 1.089 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.7613, allocations: 186.5 kB / 1.089 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.7613, allocations: 110.5 kB / 1.089 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001133/0.7615, allocations: 139.6 kB / 1.09 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7615, allocations: 0 / 1.09 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002228/0.7617, allocations: 4.25 kB / 1.09 GB, free: 11.14 MB / 0.8419 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.0001708/0.7619, allocations: 174.6 kB / 1.09 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.762, allocations: 16.14 kB / 1.09 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.762, allocations: 1.188 kB / 1.09 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.762, allocations: 0 / 1.09 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.7624, allocations: 459.6 kB / 1.09 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.7628, allocations: 241.1 kB / 1.09 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.7631, allocations: 0.6929 MB / 1.091 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.7631, allocations: 10.09 kB / 1.091 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.7631, allocations: 0 / 1.091 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of Templates: time 0.002217/0.7654, allocations: 0.7629 MB / 1.092 GB, free: 9.547 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches