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.008239/0.008238, allocations: 101.8 kB / 15.73 MB, free: 6.066 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.001899/0.001899, allocations: 196.5 kB / 16.68 MB, free: 5.977 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.644/2.644, allocations: 437 MB / 0.7105 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 63.91 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3552, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002093/0.3573, allocations: 0.6655 MB / 1.167 GB, free: 6.559 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.3575, allocations: 4 kB / 1.167 GB, free: 6.555 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.3576, allocations: 0 / 1.167 GB, free: 6.555 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3577, allocations: 15.92 kB / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.3578, allocations: 4 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001035/0.3579, allocations: 0 / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3581, allocations: 43.84 kB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3582, allocations: 31.98 kB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.3583, allocations: 15.98 kB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/0.3583, allocations: 19.86 kB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.3584, allocations: 4 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.3584, allocations: 0 / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.3584, allocations: 8 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.3585, allocations: 15.88 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3586, allocations: 55.8 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3586, allocations: 0 / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3586, allocations: 4 kB / 1.167 GB, free: 6.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3586, allocations: 0 / 1.167 GB, free: 6.34 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.0003959/0.359, allocations: 354.2 kB / 1.167 GB, free: 5.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3591, allocations: 8.031 kB / 1.167 GB, free: 5.938 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.3591, allocations: 42.69 kB / 1.167 GB, free: 5.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.3592, allocations: 4.844 kB / 1.167 GB, free: 5.883 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3594, allocations: 181.1 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3594, allocations: 8.375 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3594, allocations: 4.375 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3596, allocations: 78.22 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3596, allocations: 3.938 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3596, allocations: 4 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3596, allocations: 4 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.3597, allocations: 51.84 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.3602, allocations: 479.2 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.3603, allocations: 173.5 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.3603, allocations: 80.14 kB / 1.168 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3604, allocations: 75.28 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.3604, allocations: 113.8 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 3.055e-06/0.3604, allocations: 112 / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.581e-05/0.3605, allocations: 41.55 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.3606, allocations: 138.6 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3608, allocations: 172 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.3608, allocations: 25.7 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.3608, allocations: 96.08 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.3609, allocations: 0 / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.3609, allocations: 13.72 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.361, allocations: 322.8 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.361, allocations: 4 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.3611, allocations: 11.98 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.3611, allocations: 16.84 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3611, allocations: 0 / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001241/0.3612, allocations: 61.53 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3613, allocations: 4 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3613, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3613, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.3614, allocations: 7.938 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3614, allocations: 96 / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.3614, allocations: 8 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3614, allocations: 0 / 1.17 GB, free: 3.57 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.231e-05/0.3615, allocations: 197.1 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.3616, allocations: 112.9 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.3617, allocations: 116.8 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.591e-05/0.3617, allocations: 184.2 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.2e-05/0.3618, allocations: 180.3 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-05/0.3619, allocations: 180.2 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3621, allocations: 425.2 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-05/0.3621, allocations: 104.9 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.3622, allocations: 101 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-05/0.3622, allocations: 180.3 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.3623, allocations: 180.2 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.724e-05/0.3624, allocations: 188.2 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.245e-05/0.3624, allocations: 180.2 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.3626, allocations: 315.7 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.3627, allocations: 190 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.3627, allocations: 188.2 kB / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.3628, allocations: 113.1 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3629, allocations: 176.3 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.3629, allocations: 109.1 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.979e-05/0.363, allocations: 135.2 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.363, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002289/0.3633, allocations: 4 kB / 1.173 GB, free: 15.86 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.0003999/0.3637, allocations: 0.8088 MB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.3638, allocations: 15.98 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3638, allocations: 0 / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.3638, allocations: 3.938 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.3642, allocations: 465.7 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3656, allocations: 1.594 MB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3659, allocations: 0.6924 MB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.3659, allocations: 11.84 kB / 1.176 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.366, allocations: 19.38 kB / 1.176 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.366, allocations: 0 / 1.176 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.3833, allocations: 1.632 MB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.892, allocations: 13.78 kB / 1.178 GB, free: 10.57 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=50 --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