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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001772/0.001772, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.3 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.6395, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002353/0.6419, allocations: 0.6514 MB / 0.9504 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001793/0.6421, allocations: 14.72 kB / 0.9504 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.6422, allocations: 1.375 kB / 0.9504 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.6423, allocations: 3.938 kB / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.6424, allocations: 1.375 kB / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.138e-05/0.6424, allocations: 5.375 kB / 0.9504 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.6426, allocations: 26.86 kB / 0.9504 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.6427, allocations: 33.86 kB / 0.9505 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.6428, allocations: 13.44 kB / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.6428, allocations: 20.05 kB / 0.9505 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.6429, allocations: 2.844 kB / 0.9505 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.6429, allocations: 2.344 kB / 0.9505 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.6429, allocations: 8.594 kB / 0.9505 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.505e-05/0.643, allocations: 24.66 kB / 0.9505 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.6431, allocations: 43.39 kB / 0.9506 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6431, allocations: 1.25 kB / 0.9506 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6431, allocations: 0 / 0.9506 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.6431, allocations: 0 / 0.9506 GB, free: 8.566 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.000347/0.6435, allocations: 348.8 kB / 0.9509 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.6435, allocations: 13.09 kB / 0.9509 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.6435, allocations: 37.31 kB / 0.9509 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.6436, allocations: 7.688 kB / 0.951 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.6438, allocations: 183.2 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.6438, allocations: 7.062 kB / 0.9511 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.6438, allocations: 7.797 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.6441, allocations: 76.28 kB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6441, allocations: 3.938 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6441, allocations: 7.938 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6441, allocations: 1.5 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.6442, allocations: 49.06 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.6447, allocations: 492.4 kB / 0.9517 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.6448, allocations: 169.1 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.6448, allocations: 81.73 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.6448, allocations: 79.28 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.6448, allocations: 109.8 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6449, allocations: 1.719 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.126e-05/0.6449, allocations: 32.33 kB / 0.9522 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.645, allocations: 130.6 kB / 0.9523 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.6452, allocations: 174.3 kB / 0.9525 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.6452, allocations: 25.7 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.6452, allocations: 99.53 kB / 0.9526 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.6452, allocations: 3.938 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.6453, allocations: 20.83 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.6453, allocations: 317.2 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.6454, allocations: 8.234 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.6454, allocations: 8.188 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.6454, allocations: 14.41 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6454, allocations: 4.062 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001161/0.6455, allocations: 51.31 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6456, allocations: 7.719 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6456, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6456, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.6457, allocations: 7.75 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6457, allocations: 7.922 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.6457, allocations: 7.75 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.6457, allocations: 1.25 kB / 0.953 GB, free: 6.031 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 8.131e-05/0.6458, allocations: 199.2 kB / 0.9532 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.6459, allocations: 104.1 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.6459, allocations: 112.4 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/0.6459, allocations: 193.5 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.238e-05/0.646, allocations: 181.5 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/0.646, allocations: 180.2 kB / 0.954 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.6462, allocations: 422.2 kB / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.6462, allocations: 102.3 kB / 0.9545 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.6462, allocations: 106.1 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.482e-05/0.6462, allocations: 176.3 kB / 0.9547 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.6463, allocations: 187.1 kB / 0.9549 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.912e-05/0.6463, allocations: 185.5 kB / 0.9551 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.93e-05/0.6464, allocations: 181.4 kB / 0.9553 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.628e-05/0.6464, allocations: 308.6 kB / 0.9556 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.6465, allocations: 197.5 kB / 0.9558 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.6465, allocations: 181.8 kB / 0.9559 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.6466, allocations: 106.5 kB / 0.956 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.6466, allocations: 185.5 kB / 0.9562 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.6467, allocations: 106.1 kB / 0.9563 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.398e-05/0.6468, allocations: 133 kB / 0.9564 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.102e-06/0.6468, allocations: 0 / 0.9564 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002298/0.647, allocations: 8.531 kB / 0.9564 GB, free: 2.406 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.0003038/0.6473, allocations: 0.8126 MB / 0.9572 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.902e-05/0.6474, allocations: 9.781 kB / 0.9572 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.6474, allocations: 1 kB / 0.9572 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.6474, allocations: 0 / 0.9572 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.6478, allocations: 472.7 kB / 0.9577 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.649, allocations: 1.589 MB / 0.9593 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.6494, allocations: 0.6918 MB / 0.9599 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.419e-05/0.6494, allocations: 12.98 kB / 0.9599 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.6495, allocations: 17.73 kB / 0.96 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6495, allocations: 5.062 kB / 0.96 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.6703, allocations: 1.607 MB / 0.9615 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.968, allocations: 11.62 kB / 0.9615 GB, free: 14.05 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