Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.0008091/0.000809, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005688/0.005688, allocations: 172.5 kB / 16.27 MB, free: 6.652 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 15.98 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6169, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0006223/0.6175, allocations: 386.6 kB / 0.9556 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.918e-05/0.6176, allocations: 10.53 kB / 0.9556 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.6177, allocations: 0 / 0.9556 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.08e-05/0.6178, allocations: 1.406 kB / 0.9556 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.856e-05/0.6178, allocations: 0 / 0.9556 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.654e-05/0.6179, allocations: 5.406 kB / 0.9556 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.6179, allocations: 26.92 kB / 0.9556 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.618, allocations: 32.58 kB / 0.9556 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.6181, allocations: 6.75 kB / 0.9556 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.321e-05/0.6181, allocations: 17.38 kB / 0.9557 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.6181, allocations: 1.469 kB / 0.9557 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.6181, allocations: 1.25 kB / 0.9557 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.6181, allocations: 6.656 kB / 0.9557 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.6182, allocations: 40.58 kB / 0.9557 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.943e-05/0.6182, allocations: 39.62 kB / 0.9557 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.6182, allocations: 1.469 kB / 0.9557 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6182, allocations: 0 / 0.9557 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.6183, allocations: 0 / 0.9557 GB, free: 7.246 MB / 0.7169 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.0001936/0.6185, allocations: 339.1 kB / 0.9561 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.6185, allocations: 14.22 kB / 0.9561 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.6185, allocations: 37.03 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.826e-05/0.6185, allocations: 3.469 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.6186, allocations: 195.6 kB / 0.9563 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.6187, allocations: 2.75 kB / 0.9563 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.6187, allocations: 4.062 kB / 0.9563 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.6188, allocations: 78.88 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.6188, allocations: 7.875 kB / 0.9564 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.6188, allocations: 1.312 kB / 0.9564 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6188, allocations: 5.391 kB / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.6189, allocations: 52.53 kB / 0.9565 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.6192, allocations: 484.1 kB / 0.9569 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.777e-05/0.6193, allocations: 174 kB / 0.9571 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.6193, allocations: 81.11 kB / 0.9572 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.6193, allocations: 79.28 kB / 0.9572 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.6193, allocations: 107 kB / 0.9573 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.6193, allocations: 0 / 0.9573 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.27e-05/0.6194, allocations: 32.7 kB / 0.9574 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.6194, allocations: 131.6 kB / 0.9575 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.6195, allocations: 173.4 kB / 0.9577 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-06/0.6195, allocations: 26.83 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.6196, allocations: 99.42 kB / 0.9578 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.6196, allocations: 112 / 0.9578 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.6196, allocations: 13.66 kB / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.6196, allocations: 321.9 kB / 0.9581 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.6197, allocations: 3.25 kB / 0.9581 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.6197, allocations: 12.39 kB / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.6197, allocations: 10.39 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6197, allocations: 0 / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.567e-05/0.6198, allocations: 60.05 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.6198, allocations: 5.062 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.6198, allocations: 1.438 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.6198, allocations: 0 / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.136e-05/0.6199, allocations: 10.12 kB / 0.9582 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.6199, allocations: 1.469 kB / 0.9582 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.6199, allocations: 3.344 kB / 0.9582 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.6199, allocations: 1.062 kB / 0.9582 GB, free: 4.727 MB / 0.7169 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 4.956e-05/0.62, allocations: 199.2 kB / 0.9584 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.62, allocations: 108 kB / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.6201, allocations: 120 kB / 0.9586 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.6201, allocations: 185.4 kB / 0.9588 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/0.6201, allocations: 181.4 kB / 0.959 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.6201, allocations: 185.2 kB / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.6202, allocations: 425.5 kB / 0.9595 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.6203, allocations: 102.1 kB / 0.9596 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.6203, allocations: 107.4 kB / 0.9597 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.6203, allocations: 177 kB / 0.9599 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.6203, allocations: 181.1 kB / 0.9601 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.796e-05/0.6203, allocations: 189.3 kB / 0.9603 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-05/0.6204, allocations: 189.1 kB / 0.9604 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.292e-05/0.6204, allocations: 301.8 kB / 0.9607 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.6205, allocations: 198.6 kB / 0.9609 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.6205, allocations: 177.7 kB / 0.9611 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.6205, allocations: 114.3 kB / 0.9612 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.6206, allocations: 177.7 kB / 0.9614 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.6206, allocations: 102.5 kB / 0.9615 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.864e-05/0.6207, allocations: 133.5 kB / 0.9616 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6207, allocations: 0 / 0.9616 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001982/0.6209, allocations: 4.219 kB / 0.9616 GB, free: 1.102 MB / 0.7169 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.0001957/0.6211, allocations: 0.8177 MB / 0.9624 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.699e-05/0.6211, allocations: 17.8 kB / 0.9624 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.6211, allocations: 0 / 0.9624 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.6211, allocations: 4 kB / 0.9624 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.6215, allocations: 0.5298 MB / 0.9629 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.6226, allocations: 1.6 MB / 0.9645 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.6229, allocations: 0.6926 MB / 0.9652 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.6229, allocations: 9.719 kB / 0.9652 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.6229, allocations: 21.7 kB / 0.9652 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.6229, allocations: 0 / 0.9652 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6842/1.307, allocations: 1.412 MB / 0.9666 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.307, allocations: 209.4 kB / 0.9668 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.943, allocations: 1.375 kB / 0.9668 GB, free: 12.62 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches