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.001173/0.001173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001299/0.001299, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.181/2.181, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4771, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001498/0.4786, allocations: 0.7115 MB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.996e-05/0.4787, allocations: 17.34 kB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.4788, allocations: 1.312 kB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.555e-05/0.4788, allocations: 4 kB / 0.9498 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.683e-05/0.4789, allocations: 9.25 kB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.91e-05/0.4789, allocations: 1.25 kB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.711e-05/0.479, allocations: 22.14 kB / 0.9498 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.4791, allocations: 29.39 kB / 0.9498 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.4791, allocations: 12.28 kB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.239e-05/0.4791, allocations: 19.86 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.4792, allocations: 1.406 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.4792, allocations: 2.656 kB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.4792, allocations: 10.62 kB / 0.9499 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.4792, allocations: 16.09 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.806e-05/0.4793, allocations: 44.14 kB / 0.9499 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4793, allocations: 9.375 kB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4793, allocations: 0 / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4793, allocations: 0 / 0.95 GB, free: 8.449 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.0002104/0.4795, allocations: 353.8 kB / 0.9503 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.4796, allocations: 9.625 kB / 0.9503 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.233e-05/0.4796, allocations: 36.12 kB / 0.9503 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.4796, allocations: 7.594 kB / 0.9503 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.4797, allocations: 180.6 kB / 0.9505 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.4797, allocations: 1.75 kB / 0.9505 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.4797, allocations: 4.5 kB / 0.9505 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.4799, allocations: 82.97 kB / 0.9506 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.381e-06/0.4799, allocations: 3.938 kB / 0.9506 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.4799, allocations: 1.375 kB / 0.9506 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4799, allocations: 1.375 kB / 0.9506 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.024e-05/0.48, allocations: 52.78 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.4803, allocations: 484.5 kB / 0.9511 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.4803, allocations: 173.1 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.4803, allocations: 81.62 kB / 0.9514 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.4803, allocations: 79.22 kB / 0.9514 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.4804, allocations: 107.2 kB / 0.9515 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4804, allocations: 0 / 0.9515 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.394e-05/0.4804, allocations: 36.3 kB / 0.9516 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.4804, allocations: 136 kB / 0.9517 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4806, allocations: 172.4 kB / 0.9519 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-06/0.4806, allocations: 27.08 kB / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.4806, allocations: 98.78 kB / 0.952 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.4806, allocations: 0 / 0.952 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.4806, allocations: 17.84 kB / 0.952 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.4807, allocations: 316.2 kB / 0.9523 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.4807, allocations: 12.11 kB / 0.9523 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.4807, allocations: 8.125 kB / 0.9523 GB, free: 6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.693e-05/0.4807, allocations: 18.34 kB / 0.9523 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4808, allocations: 1.375 kB / 0.9523 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.843e-05/0.4808, allocations: 47.38 kB / 0.9524 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.4809, allocations: 7.375 kB / 0.9524 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4809, allocations: 0 / 0.9524 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.4809, allocations: 3.938 kB / 0.9524 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.382e-05/0.4809, allocations: 7.594 kB / 0.9524 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4809, allocations: 4.094 kB / 0.9524 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.481, allocations: 15.23 kB / 0.9524 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.481, allocations: 1.594 kB / 0.9524 GB, free: 5.922 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.685e-05/0.481, allocations: 188.2 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.4811, allocations: 107.4 kB / 0.9527 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.4811, allocations: 120.8 kB / 0.9528 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.4811, allocations: 184.2 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.4811, allocations: 181.8 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.4812, allocations: 186 kB / 0.9534 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.4813, allocations: 416.3 kB / 0.9537 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.4813, allocations: 106.2 kB / 0.9539 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.4813, allocations: 107.7 kB / 0.954 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/0.4813, allocations: 185.5 kB / 0.9541 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.4814, allocations: 184.2 kB / 0.9543 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.74e-05/0.4814, allocations: 181.6 kB / 0.9545 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-05/0.4814, allocations: 181.6 kB / 0.9547 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.539e-05/0.4815, allocations: 316.8 kB / 0.955 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.4815, allocations: 189.8 kB / 0.9551 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.4815, allocations: 177.8 kB / 0.9553 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.4816, allocations: 110.3 kB / 0.9554 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.4816, allocations: 181.9 kB / 0.9556 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4816, allocations: 113.2 kB / 0.9557 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.856e-05/0.4817, allocations: 128.4 kB / 0.9558 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4817, allocations: 0 / 0.9558 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001977/0.4819, allocations: 5.406 kB / 0.9558 GB, free: 2.301 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.0001944/0.4821, allocations: 0.8127 MB / 0.9566 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.062e-05/0.4822, allocations: 26.11 kB / 0.9566 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4822, allocations: 0 / 0.9566 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4822, allocations: 1.312 kB / 0.9566 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.4825, allocations: 0.5248 MB / 0.9572 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.4834, allocations: 1.606 MB / 0.9587 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.4837, allocations: 0.6886 MB / 0.9594 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.4837, allocations: 9.172 kB / 0.9594 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.4837, allocations: 13.66 kB / 0.9594 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.4837, allocations: 0 / 0.9594 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.464/1.948, allocations: 1.479 MB / 0.9609 GB, free: 14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/1.948, allocations: 215.3 kB / 0.9611 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/3.789, allocations: 3.75 kB / 0.9611 GB, free: 13.74 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