Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",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.001453/0.001453, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 68.14 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3578, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002106/0.36, allocations: 0.6554 MB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001417/0.3601, allocations: 15.98 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.3602, allocations: 0 / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.3603, allocations: 7.938 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.238e-05/0.3604, allocations: 0 / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.501e-05/0.3604, allocations: 4 kB / 1.054 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.3605, allocations: 27.92 kB / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3607, allocations: 31.97 kB / 1.054 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.793e-05/0.3607, allocations: 11.94 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.3608, allocations: 15.92 kB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3608, allocations: 4 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.3608, allocations: 4 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.3608, allocations: 15.94 kB / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.3609, allocations: 19.88 kB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.211e-05/0.361, allocations: 43.86 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.361, allocations: 0 / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.361, allocations: 3.938 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.361, allocations: 0 / 1.054 GB, free: 7.406 MB / 0.8106 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.0003701/0.3614, allocations: 351.7 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3614, allocations: 8.625 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.3615, allocations: 38.73 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.3615, allocations: 12.84 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3617, allocations: 184.2 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3617, allocations: 384 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3617, allocations: 4.375 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3619, allocations: 78.22 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3619, allocations: 3.938 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3619, allocations: 4 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3619, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.161e-05/0.362, allocations: 47.97 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.3625, allocations: 495 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.3626, allocations: 177.1 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.3627, allocations: 80.14 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3627, allocations: 75.28 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.3628, allocations: 109.8 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3628, allocations: 3.938 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.958e-05/0.3629, allocations: 29.7 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.3629, allocations: 130.6 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3631, allocations: 174.9 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.3631, allocations: 29.64 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.3632, allocations: 96.05 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.3632, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.3632, allocations: 17.72 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3634, allocations: 318.8 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.3634, allocations: 11.98 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.3634, allocations: 4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.3635, allocations: 16.84 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3635, allocations: 4 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001295/0.3636, allocations: 45.59 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3636, allocations: 6.125 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3636, allocations: 4 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3636, allocations: 4 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.3637, allocations: 7.875 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3637, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.3638, allocations: 19.92 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3638, allocations: 4 kB / 1.056 GB, free: 4.625 MB / 0.8106 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.0001068/0.3639, allocations: 185.1 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.364, allocations: 112.9 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.364, allocations: 116.9 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.928e-05/0.3641, allocations: 184.1 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.006e-05/0.3642, allocations: 176.3 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-05/0.3642, allocations: 188.2 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.3645, allocations: 417.3 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.901e-05/0.3645, allocations: 112.9 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.3646, allocations: 101 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.824e-05/0.3647, allocations: 180.3 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.3647, allocations: 188.2 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.814e-05/0.3648, allocations: 180.2 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-05/0.3649, allocations: 184.2 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.365, allocations: 312.2 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.557e-05/0.3651, allocations: 190 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-05/0.3652, allocations: 176.3 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.3653, allocations: 109.2 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.3654, allocations: 184.3 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.3655, allocations: 113 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.64e-05/0.3656, allocations: 123.2 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3656, allocations: 0 / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002115/0.3658, allocations: 7.938 kB / 1.06 GB, free: 0.9375 MB / 0.8106 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.0004755/0.3663, allocations: 0.8164 MB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.791e-05/0.3663, allocations: 15.98 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3663, allocations: 0 / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-06/0.3664, allocations: 0 / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.3668, allocations: 475.2 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3681, allocations: 1.59 MB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3684, allocations: 0.6885 MB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.3685, allocations: 15.97 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.3685, allocations: 15.38 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3685, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.3875, allocations: 1.612 MB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.608, allocations: 3.953 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches