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.005169/0.005174, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001086/0.001086, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 1.054 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3651, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002745/0.368, allocations: 0.6456 MB / 1.208 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002148/0.3682, allocations: 15.92 kB / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.3683, allocations: 0 / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3684, allocations: 3.938 kB / 1.208 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.3685, allocations: 4 kB / 1.208 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.1e-05/0.3686, allocations: 4 kB / 1.208 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.3687, allocations: 27.86 kB / 1.208 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.3689, allocations: 35.97 kB / 1.208 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.3689, allocations: 15.92 kB / 1.208 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.762e-05/0.369, allocations: 11.94 kB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.369, allocations: 4 kB / 1.208 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.369, allocations: 8 kB / 1.208 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.3691, allocations: 15.92 kB / 1.208 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.3691, allocations: 15.88 kB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.3692, allocations: 51.8 kB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3693, allocations: 0 / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3693, allocations: 4 kB / 1.208 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3693, allocations: 0 / 1.208 GB, free: 9.207 MB / 0.9669 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.0004034/0.3697, allocations: 343.6 kB / 1.209 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.3697, allocations: 12.62 kB / 1.209 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.3698, allocations: 38.73 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.3698, allocations: 8.938 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.37, allocations: 184.2 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.37, allocations: 4.375 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3701, allocations: 4.375 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3702, allocations: 74.23 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.3703, allocations: 7.875 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3703, allocations: 4 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3703, allocations: 0 / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.3704, allocations: 47.95 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.3709, allocations: 487.1 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.235e-05/0.371, allocations: 169.1 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.3711, allocations: 80.14 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.3711, allocations: 79.27 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.3712, allocations: 117.8 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3712, allocations: 0 / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.725e-05/0.3713, allocations: 33.61 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.3714, allocations: 130.6 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.3716, allocations: 175.5 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3716, allocations: 25.7 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.3717, allocations: 96.12 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.3717, allocations: 0 / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.3717, allocations: 17.72 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3719, allocations: 314.8 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.3719, allocations: 7.984 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.3719, allocations: 7.984 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.372, allocations: 16.86 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.372, allocations: 0 / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001301/0.3721, allocations: 53.53 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3721, allocations: 16.08 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3722, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3722, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.3722, allocations: 11.88 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3723, allocations: 0 / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.3723, allocations: 15.95 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3723, allocations: 3.938 kB / 1.211 GB, free: 6.434 MB / 0.9669 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.0001251/0.3725, allocations: 193.1 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.3725, allocations: 109 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.3726, allocations: 116.8 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.381e-05/0.3727, allocations: 184.2 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.789e-05/0.3727, allocations: 180.3 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.045e-05/0.3728, allocations: 180.2 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.3731, allocations: 417.2 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/0.3731, allocations: 108.9 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.3732, allocations: 109 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-05/0.3733, allocations: 180.8 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/0.3734, allocations: 180.2 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.685e-05/0.3734, allocations: 180.2 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.79e-05/0.3735, allocations: 188.2 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.3737, allocations: 308 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.3738, allocations: 194 kB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.549e-05/0.3739, allocations: 180.3 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/0.374, allocations: 116.8 kB / 1.214 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.374, allocations: 180.3 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.3741, allocations: 101 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001024/0.3742, allocations: 132.6 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.543e-06/0.3742, allocations: 0 / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000263/0.3745, allocations: 11.94 kB / 1.214 GB, free: 2.738 MB / 0.9669 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.0004779/0.375, allocations: 0.8126 MB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.375, allocations: 4 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.375, allocations: 0 / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-06/0.3751, allocations: 3.938 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.3756, allocations: 481 kB / 1.215 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3772, allocations: 1.611 MB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3774, allocations: 0.6885 MB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.3775, allocations: 15.92 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.3775, allocations: 11.44 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.3775, allocations: 0 / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.3989, allocations: 1.633 MB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.846, allocations: 4.656 kB / 1.219 GB, free: 13.45 MB / 0.9825 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