Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001401/0.001401, allocations: 112.1 kB / 17.54 MB, free: 4.738 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.001419/0.001419, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 67.89 kB / 1.107 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.8387, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001638/0.8403, allocations: 0.6734 MB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000123/0.8404, allocations: 14.12 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.8405, allocations: 0.7188 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.43e-05/0.8405, allocations: 5.859 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.525e-05/0.8406, allocations: 1.672 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.992e-05/0.8406, allocations: 2.734 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.011e-05/0.8407, allocations: 25.08 kB / 1.272 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.8408, allocations: 21.11 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.8409, allocations: 14.44 kB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.172e-05/0.8409, allocations: 15.45 kB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.8409, allocations: 7 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.8409, allocations: 3.156 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.841, allocations: 15.64 kB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.841, allocations: 22.3 kB / 1.272 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.605e-05/0.8411, allocations: 50.23 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8411, allocations: 0.6562 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8411, allocations: 0.7188 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8411, allocations: 0 / 1.272 GB, free: 7.195 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.0002507/0.8413, allocations: 350 kB / 1.273 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.8414, allocations: 13.91 kB / 1.273 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.8414, allocations: 33.69 kB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.8414, allocations: 8.453 kB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.8415, allocations: 183.4 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.8415, allocations: 6.531 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.8416, allocations: 7.219 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.8417, allocations: 74.81 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.8417, allocations: 3.938 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.8417, allocations: 0.8125 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.8417, allocations: 6.031 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.8418, allocations: 52.28 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.8422, allocations: 488.4 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.703e-05/0.8422, allocations: 170 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.243e-05/0.8422, allocations: 80.14 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.8422, allocations: 84.73 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.8423, allocations: 110.8 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.8423, allocations: 0 / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.685e-05/0.8423, allocations: 33.27 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.8423, allocations: 132.3 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.8425, allocations: 171 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-06/0.8425, allocations: 29.7 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.8425, allocations: 93.86 kB / 1.274 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.8425, allocations: 0.75 kB / 1.274 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.8426, allocations: 16.83 kB / 1.274 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.8426, allocations: 316.2 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.8426, allocations: 9.562 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.8426, allocations: 11.2 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.8427, allocations: 20.42 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8427, allocations: 0.8125 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.8428, allocations: 52.89 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.8428, allocations: 5.375 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.8428, allocations: 0.8125 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.8428, allocations: 0 / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.8428, allocations: 7.984 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.8428, allocations: 0 / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.8429, allocations: 8.656 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.8429, allocations: 2.156 kB / 1.275 GB, free: 4.766 MB / 0.9981 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 5.339e-05/0.8429, allocations: 198 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.843, allocations: 114 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.843, allocations: 109.7 kB / 1.275 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.843, allocations: 189.5 kB / 1.275 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/0.843, allocations: 178.1 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.8431, allocations: 186.3 kB / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.8432, allocations: 421.9 kB / 1.276 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.8432, allocations: 102.4 kB / 1.276 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.8433, allocations: 106.9 kB / 1.276 GB, free: 19.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-05/0.8433, allocations: 182.4 kB / 1.276 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.8434, allocations: 177.8 kB / 1.277 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.798e-05/0.8435, allocations: 190.5 kB / 1.277 GB, free: 18.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.497e-05/0.8435, allocations: 177 kB / 1.277 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.8437, allocations: 311.7 kB / 1.277 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.8438, allocations: 191.6 kB / 1.277 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.8438, allocations: 181.9 kB / 1.278 GB, free: 17.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.8439, allocations: 111.9 kB / 1.278 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.844, allocations: 185.1 kB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.844, allocations: 104.3 kB / 1.278 GB, free: 17.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.672e-05/0.8441, allocations: 129.1 kB / 1.278 GB, free: 17.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.8441, allocations: 0 / 1.278 GB, free: 17.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000202/0.8443, allocations: 5.312 kB / 1.278 GB, free: 17.18 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.0004438/0.8448, allocations: 0.8209 MB / 1.279 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.927e-05/0.8448, allocations: 12.38 kB / 1.279 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8448, allocations: 0 / 1.279 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.8448, allocations: 0 / 1.279 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.8452, allocations: 471.7 kB / 1.279 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.8465, allocations: 1.609 MB / 1.281 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.8468, allocations: 0.6935 MB / 1.282 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.8468, allocations: 6.609 kB / 1.282 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.8468, allocations: 14.84 kB / 1.282 GB, free: 13.79 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.8468, allocations: 4 kB / 1.282 GB, free: 13.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.8696, allocations: 1.613 MB / 1.283 GB, free: 13.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/7.699, allocations: 4.094 kB / 1.283 GB, free: 13.4 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.003528017999997]