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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007943/0.0007943, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9065/0.9065, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.748/1.748, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.635e-06/2.635e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.248e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001582/0.001605, allocations: 0.6444 MB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.001776, allocations: 7.984 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.001835, allocations: 7.938 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.001964, allocations: 4 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-05/0.002017, allocations: 0 / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.777e-05/0.002105, allocations: 7.938 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.002208, allocations: 27.91 kB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.00236, allocations: 19.98 kB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.002408, allocations: 15.98 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.002456, allocations: 19.91 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.002483, allocations: 4 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.002496, allocations: 4 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.002532, allocations: 11.94 kB / 1.001 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.002575, allocations: 15.92 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.002694, allocations: 51.8 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.002697, allocations: 0 / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002698, allocations: 0 / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.002702, allocations: 0 / 1.001 GB, free: 12.6 MB / 0.9636 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.0003381/0.00304, allocations: 270.2 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.003097, allocations: 8.75 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.003138, allocations: 38.73 kB / 1.001 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.003165, allocations: 4.938 kB / 1.001 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.003326, allocations: 121.7 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.003343, allocations: 4.375 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.003354, allocations: 8.375 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.003521, allocations: 86.09 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.00353, allocations: 192 / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.003538, allocations: 384 / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.003547, allocations: 8.125 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.003611, allocations: 47.97 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.00406, allocations: 454.2 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.428e-05/0.004134, allocations: 165.1 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.004165, allocations: 84.12 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.004185, allocations: 75.28 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.004224, allocations: 121.8 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.004225, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.982e-05/0.004285, allocations: 33.66 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.004332, allocations: 126.7 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.004458, allocations: 167.8 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.004468, allocations: 29.7 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.00452, allocations: 96.08 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.004523, allocations: 7.984 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.004547, allocations: 9.719 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.004638, allocations: 326.8 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.004651, allocations: 4 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.004663, allocations: 15.98 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.817e-05/0.004692, allocations: 12.8 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004693, allocations: 7.938 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001054/0.004799, allocations: 49.78 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.00481, allocations: 7.938 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.004815, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.004825, allocations: 4 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.917e-05/0.004874, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.004879, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.004898, allocations: 15.98 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.004908, allocations: 4 kB / 1.003 GB, free: 10.04 MB / 0.9636 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 7.57e-05/0.004983, allocations: 197 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.005025, allocations: 112.9 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.005063, allocations: 112.8 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-05/0.00511, allocations: 188.2 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.315e-05/0.005153, allocations: 177 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-05/0.005199, allocations: 176.3 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.005505, allocations: 396.2 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/0.005539, allocations: 109 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.005568, allocations: 108.9 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.737e-05/0.005615, allocations: 180.3 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.005666, allocations: 176.5 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.074e-05/0.005717, allocations: 188.2 kB / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-05/0.005769, allocations: 180.3 kB / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.005885, allocations: 311.7 kB / 1.005 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.005933, allocations: 112.9 kB / 1.005 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.005992, allocations: 184.2 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.006051, allocations: 101 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.00611, allocations: 188.2 kB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.006141, allocations: 105 kB / 1.006 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.123e-05/0.006222, allocations: 136.6 kB / 1.006 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006222, allocations: 0 / 1.006 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001476/0.00637, allocations: 12 kB / 1.006 GB, free: 6.461 MB / 0.9636 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.0003066/0.006677, allocations: 0.8048 MB / 1.007 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.006751, allocations: 11.98 kB / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.006752, allocations: 0 / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.006754, allocations: 0 / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.007108, allocations: 471.7 kB / 1.007 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.008178, allocations: 1.616 MB / 1.009 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.004e-05/0.008238, allocations: 71.33 kB / 1.009 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.025e-05/0.008258, allocations: 8 kB / 1.009 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.008295, allocations: 16.48 kB / 1.009 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.008295, allocations: 0 / 1.009 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.02384, allocations: 2.292 MB / 1.011 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.448/6.471, allocations: 8.047 kB / 1.011 GB, free: 1.168 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.469072722829878]