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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 109.8 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.217/3.217, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] 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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 69.78 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3514, allocations: 173.9 MB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002156/0.3536, allocations: 0.6517 MB / 1.305 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001574/0.3537, allocations: 8 kB / 1.305 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.3538, allocations: 3.938 kB / 1.305 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3539, allocations: 0 / 1.305 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.354, allocations: 0 / 1.305 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.492e-05/0.354, allocations: 15.92 kB / 1.305 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3542, allocations: 23.92 kB / 1.305 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3543, allocations: 27.98 kB / 1.305 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.3543, allocations: 19.92 kB / 1.305 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.3544, allocations: 15.92 kB / 1.305 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3544, allocations: 0 / 1.305 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.3544, allocations: 4 kB / 1.305 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.3544, allocations: 11.94 kB / 1.305 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.3545, allocations: 15.88 kB / 1.305 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.3546, allocations: 59.95 kB / 1.305 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3546, allocations: 0 / 1.305 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3546, allocations: 0 / 1.305 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3546, allocations: 4 kB / 1.305 GB, free: 0.6719 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.0004672/0.3551, allocations: 355.3 kB / 1.305 GB, free: 280 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3551, allocations: 8.625 kB / 1.305 GB, free: 272 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.3552, allocations: 34.75 kB / 1.305 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.3552, allocations: 8.891 kB / 1.305 GB, free: 220 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3554, allocations: 176.3 kB / 1.305 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.3555, allocations: 8.422 kB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3555, allocations: 384 / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3557, allocations: 82.11 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3557, allocations: 7.938 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3557, allocations: 4 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3557, allocations: 0 / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.3558, allocations: 47.97 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.3564, allocations: 487.1 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.3566, allocations: 165.1 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.3566, allocations: 88.14 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.3567, allocations: 79.83 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.3568, allocations: 113.8 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3568, allocations: 0 / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001039/0.3569, allocations: 33.59 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.357, allocations: 134.6 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.3572, allocations: 175.7 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.3572, allocations: 25.7 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.3573, allocations: 92.14 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.3573, allocations: 0 / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.3573, allocations: 21.67 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3575, allocations: 318.8 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.3575, allocations: 4 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.3576, allocations: 15.98 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.249e-05/0.3576, allocations: 16.91 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3576, allocations: 0 / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000124/0.3577, allocations: 53.62 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3577, allocations: 4 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3577, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3578, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.3578, allocations: 7.938 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3578, allocations: 0 / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.3579, allocations: 15.83 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3579, allocations: 12 kB / 1.307 GB, free: 13.89 MB / 1.014 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.0001434/0.358, allocations: 197.1 kB / 1.308 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.3581, allocations: 116.9 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.709e-05/0.3582, allocations: 108.9 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.664e-05/0.3583, allocations: 184.2 kB / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.855e-05/0.3584, allocations: 184.2 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/0.3585, allocations: 180.2 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.3589, allocations: 421.1 kB / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.087e-05/0.3589, allocations: 105 kB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.359, allocations: 101 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-05/0.3591, allocations: 180.2 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.3591, allocations: 180.3 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001576/0.3593, allocations: 192.1 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.912e-05/0.3594, allocations: 180.3 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3596, allocations: 299.8 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3597, allocations: 206 kB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.3599, allocations: 180.2 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.36, allocations: 109.2 kB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.3601, allocations: 180.2 kB / 1.31 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.3603, allocations: 108.9 kB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001153/0.3604, allocations: 132.8 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3604, allocations: 0 / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002833/0.3606, allocations: 8 kB / 1.311 GB, free: 10.19 MB / 1.014 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.000548/0.3612, allocations: 0.8127 MB / 1.312 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.3613, allocations: 11.92 kB / 1.312 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3613, allocations: 4.062 kB / 1.312 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-06/0.3613, allocations: 4 kB / 1.312 GB, free: 9.328 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.3618, allocations: 467.6 kB / 1.312 GB, free: 8.867 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.3639, allocations: 1.607 MB / 1.314 GB, free: 7.184 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.3645, allocations: 0.6923 MB / 1.314 GB, free: 6.465 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.3645, allocations: 12 kB / 1.314 GB, free: 6.453 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.3646, allocations: 15.44 kB / 1.314 GB, free: 6.438 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3646, allocations: 0 / 1.314 GB, free: 6.438 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.3891, allocations: 1.641 MB / 1.316 GB, free: 4.891 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.649, allocations: 4.953 kB / 1.316 GB, free: 4.887 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.357705784030259]