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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004555/0.004555, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001158/0.001158, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.591/2.591, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 71.89 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2633, allocations: 162.3 MB / 1.242 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001614/0.265, allocations: 0.6582 MB / 1.243 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001278/0.2651, allocations: 15.92 kB / 1.243 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.2652, allocations: 4 kB / 1.243 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.922e-05/0.2652, allocations: 0 / 1.243 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.301e-05/0.2653, allocations: 3.938 kB / 1.243 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.991e-05/0.2654, allocations: 0 / 1.243 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.836e-05/0.2655, allocations: 39.97 kB / 1.243 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2656, allocations: 31.97 kB / 1.243 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.2656, allocations: 15.94 kB / 1.243 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.019e-05/0.2656, allocations: 15.92 kB / 1.243 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.2657, allocations: 8 kB / 1.243 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.2657, allocations: 0 / 1.243 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.2657, allocations: 11.94 kB / 1.243 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.2657, allocations: 15.88 kB / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.2658, allocations: 59.67 kB / 1.243 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.2658, allocations: 0 / 1.243 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2659, allocations: 0 / 1.243 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2659, allocations: 0 / 1.243 GB, free: 8.898 MB / 0.9981 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.0003321/0.2662, allocations: 351.3 kB / 1.243 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2662, allocations: 8.031 kB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.2663, allocations: 42.75 kB / 1.243 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.2663, allocations: 4.891 kB / 1.243 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2665, allocations: 176.3 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2665, allocations: 8.375 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.2665, allocations: 4.375 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.2666, allocations: 82.09 kB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2666, allocations: 3.938 kB / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.2667, allocations: 4 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2667, allocations: 4 kB / 1.243 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/0.2667, allocations: 43.97 kB / 1.243 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.2672, allocations: 499.1 kB / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.89e-05/0.2673, allocations: 169.1 kB / 1.244 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.2673, allocations: 80.14 kB / 1.244 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.2674, allocations: 83.27 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.2674, allocations: 113.8 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.705e-06/0.2674, allocations: 0 / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.071e-05/0.2675, allocations: 33.64 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.2676, allocations: 130.6 kB / 1.245 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.2677, allocations: 171.3 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.2677, allocations: 25.7 kB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.2678, allocations: 96.09 kB / 1.245 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.2678, allocations: 4 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.2678, allocations: 13.72 kB / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.268, allocations: 322.8 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.268, allocations: 7.984 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.268, allocations: 4 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.268, allocations: 20.78 kB / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.268, allocations: 0 / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001017/0.2681, allocations: 57.7 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2682, allocations: 5.719 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2682, allocations: 112 / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.2682, allocations: 3.938 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.2682, allocations: 7.938 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.2682, allocations: 0 / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.2683, allocations: 7.984 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.2683, allocations: 4 kB / 1.245 GB, free: 6.121 MB / 0.9981 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 9.815e-05/0.2684, allocations: 189.1 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.2685, allocations: 120.9 kB / 1.246 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.2685, allocations: 108.9 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-05/0.2686, allocations: 184.2 kB / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.618e-05/0.2687, allocations: 180.2 kB / 1.246 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.556e-05/0.2687, allocations: 180.2 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.269, allocations: 429.1 kB / 1.247 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-05/0.269, allocations: 101 kB / 1.247 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.2691, allocations: 101 kB / 1.247 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-05/0.2691, allocations: 184.2 kB / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.2692, allocations: 184.2 kB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.717e-05/0.2693, allocations: 184.1 kB / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-05/0.2693, allocations: 180.3 kB / 1.247 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.2695, allocations: 308 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.2696, allocations: 194.1 kB / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.2697, allocations: 188.2 kB / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.2697, allocations: 108.9 kB / 1.248 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.2698, allocations: 184.1 kB / 1.248 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.2699, allocations: 113 kB / 1.249 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.657e-05/0.27, allocations: 127.2 kB / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.27, allocations: 0 / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002084/0.2702, allocations: 4 kB / 1.249 GB, free: 2.418 MB / 0.9981 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.000421/0.2706, allocations: 0.8131 MB / 1.249 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.66e-05/0.2707, allocations: 11.98 kB / 1.249 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2707, allocations: 0 / 1.249 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.2707, allocations: 0 / 1.249 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.2711, allocations: 469.7 kB / 1.25 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4543/0.7254, allocations: 1.599 MB / 1.251 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.7256, allocations: 0.6923 MB / 1.252 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.7256, allocations: 7.391 kB / 1.252 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.7257, allocations: 18.08 kB / 1.252 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.7257, allocations: 0.8438 kB / 1.252 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.115/2.841, allocations: 1.638 MB / 1.254 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/14.25, allocations: 11.03 kB / 1.254 GB, free: 13.22 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > 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