Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_10_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.004216/0.004215, allocations: 97.92 kB / 15.73 MB, free: 6.039 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.001233/0.001233, allocations: 185.6 kB / 16.67 MB, free: 5.961 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437.1 MB / 0.7106 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 71.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2715, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001622/0.2731, allocations: 0.6517 MB / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.2733, allocations: 15.98 kB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.2733, allocations: 0 / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.443e-05/0.2734, allocations: 3.938 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.823e-05/0.2734, allocations: 0 / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.805e-05/0.2735, allocations: 12 kB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2736, allocations: 43.84 kB / 1.167 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2738, allocations: 31.98 kB / 1.167 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.2738, allocations: 8 kB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.008e-05/0.2738, allocations: 23.84 kB / 1.167 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2738, allocations: 4 kB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.2739, allocations: 4 kB / 1.167 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.2739, allocations: 12 kB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.2739, allocations: 15.88 kB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.925e-05/0.274, allocations: 48.03 kB / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.274, allocations: 0 / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.659e-06/0.274, allocations: 4 kB / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.274, allocations: 3.938 kB / 1.167 GB, free: 6.375 MB / 0.92 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.000337/0.2744, allocations: 355.2 kB / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2744, allocations: 15.97 kB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.2745, allocations: 30.75 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.2745, allocations: 12.89 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.2746, allocations: 180.4 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-06/0.2747, allocations: 384 / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2747, allocations: 8.375 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2748, allocations: 78.22 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2748, allocations: 3.938 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.2748, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2749, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.2749, allocations: 51.91 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.2754, allocations: 499.1 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.303e-05/0.2755, allocations: 165.5 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.2755, allocations: 80.14 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.2756, allocations: 75.28 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.2756, allocations: 109.8 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2756, allocations: 0 / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.043e-05/0.2757, allocations: 41.7 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.2758, allocations: 138.6 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.2759, allocations: 171.8 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.2759, allocations: 29.7 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.276, allocations: 92.14 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.276, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.276, allocations: 13.72 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2762, allocations: 318.8 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.2762, allocations: 11.98 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/0.2762, allocations: 4 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.2762, allocations: 20.84 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2762, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.697e-05/0.2763, allocations: 53.58 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2764, allocations: 8 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.2764, allocations: 4.094 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.2764, allocations: 0 / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.154e-05/0.2764, allocations: 7.938 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.2764, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.2765, allocations: 7.984 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.2765, allocations: 0 / 1.17 GB, free: 3.602 MB / 0.92 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.722e-05/0.2766, allocations: 189.1 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.2767, allocations: 112.9 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.2767, allocations: 116.8 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-05/0.2768, allocations: 184.2 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.718e-05/0.2769, allocations: 188.1 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.946e-05/0.2769, allocations: 184.2 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2772, allocations: 413.2 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/0.2772, allocations: 108.9 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.2773, allocations: 109 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.69e-05/0.2774, allocations: 184.2 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.071e-05/0.2774, allocations: 180.2 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-05/0.2775, allocations: 180.2 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-05/0.2776, allocations: 184.2 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.2777, allocations: 315.7 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.2778, allocations: 190 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.2779, allocations: 176.3 kB / 1.172 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.278, allocations: 117.2 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.2781, allocations: 184.2 kB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.2781, allocations: 108.9 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001104/0.2782, allocations: 128.7 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2782, allocations: 0 / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002213/0.2785, allocations: 8 kB / 1.173 GB, free: 15.89 MB / 0.9356 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.0004174/0.2789, allocations: 0.8165 MB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.741e-05/0.279, allocations: 11.92 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.279, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.279, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.2794, allocations: 469.6 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2806, allocations: 1.598 MB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2809, allocations: 0.6924 MB / 1.176 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.09e-05/0.2809, allocations: 8 kB / 1.176 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.281, allocations: 15.53 kB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.281, allocations: 3.938 kB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.115/1.396, allocations: 1.627 MB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.64, allocations: 19.11 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches