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.001391/0.001391, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001712/0.001712, allocations: 195.7 kB / 16.14 MB, free: 6.656 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 69.61 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4014, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002304/0.4038, allocations: 0.7144 MB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002027/0.404, allocations: 14.16 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.4041, allocations: 3.938 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.4042, allocations: 7.938 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.4043, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.4044, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.4045, allocations: 43.89 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.4046, allocations: 35.98 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.4047, allocations: 7.938 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.4047, allocations: 11.94 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.4048, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.4048, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.4048, allocations: 15.92 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.4049, allocations: 15.88 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.91e-05/0.405, allocations: 43.86 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.405, allocations: 0 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.405, allocations: 7.938 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.405, allocations: 0 / 1.068 GB, free: 9.957 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.0003914/0.4054, allocations: 351.7 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4054, allocations: 8.031 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.4055, allocations: 8.844 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.4057, allocations: 172.3 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4057, allocations: 4.375 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.4057, allocations: 8.312 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.4059, allocations: 74.22 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.406, allocations: 4.188 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.406, allocations: 11.94 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.406, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.4061, allocations: 43.97 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.4066, allocations: 491 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.4067, allocations: 169.1 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.4067, allocations: 84.14 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.4068, allocations: 75.28 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.4068, allocations: 117.8 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.4068, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.116e-05/0.4069, allocations: 33.69 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.407, allocations: 126.7 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.4072, allocations: 183.2 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4072, allocations: 25.7 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.4073, allocations: 92.14 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.4073, allocations: 0 / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.4073, allocations: 17.7 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4075, allocations: 314.8 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.4075, allocations: 11.98 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.371e-05/0.4075, allocations: 11.94 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.4076, allocations: 24.84 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4076, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001176/0.4077, allocations: 49.59 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4077, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4077, allocations: 4 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4077, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.4078, allocations: 3.984 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.4078, allocations: 7.938 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.4079, allocations: 7.938 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.4079, allocations: 4.031 kB / 1.071 GB, free: 7.234 MB / 0.8262 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.0001091/0.408, allocations: 193.1 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.4081, allocations: 116.8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.4081, allocations: 112.6 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.887e-05/0.4082, allocations: 188.2 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.695e-05/0.4083, allocations: 188.2 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.368e-05/0.4083, allocations: 176.3 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.4086, allocations: 421.1 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-05/0.4086, allocations: 101.1 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.4087, allocations: 108.9 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.921e-05/0.4087, allocations: 184.2 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.4088, allocations: 180.3 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.355e-05/0.4089, allocations: 180.2 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.808e-05/0.409, allocations: 184.2 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.4091, allocations: 315.9 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.4092, allocations: 190.1 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.4093, allocations: 184.2 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.4094, allocations: 109 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.4095, allocations: 184.1 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.4095, allocations: 101 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.993e-05/0.4096, allocations: 136.4 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4096, allocations: 0 / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000232/0.4099, allocations: 8 kB / 1.074 GB, free: 3.523 MB / 0.8262 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.0001549/0.41, allocations: 174.5 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.473e-05/0.4101, allocations: 15.92 kB / 1.074 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4101, allocations: 4 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.4101, allocations: 0 / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.4106, allocations: 0.5225 MB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.4109, allocations: 221.9 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.4112, allocations: 0.6926 MB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.4112, allocations: 4 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.4113, allocations: 23.36 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.4113, allocations: 0 / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of Templates: time 0.002407/0.4137, allocations: 457.6 kB / 1.076 GB, free: 1.363 MB / 0.8262 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=480 -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/jenkins/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