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.008521/0.008521, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001879/0.001879, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.314/2.314, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 65.22 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.258, allocations: 140.4 MB / 1.088 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001803/0.2599, allocations: 0.6436 MB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000139/0.26, allocations: 15.92 kB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.2601, allocations: 0 / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.629e-05/0.2602, allocations: 7.922 kB / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.079e-05/0.2602, allocations: 0 / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.844e-05/0.2603, allocations: 8 kB / 1.088 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.2604, allocations: 23.92 kB / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2605, allocations: 35.98 kB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.2606, allocations: 7.938 kB / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.152e-05/0.2606, allocations: 23.91 kB / 1.088 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.2606, allocations: 8 kB / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.2607, allocations: 4 kB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.2607, allocations: 7.938 kB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.2607, allocations: 23.86 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.92e-05/0.2608, allocations: 39.83 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2608, allocations: 3.984 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2608, allocations: 0 / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2609, allocations: 0 / 1.088 GB, free: 1.098 MB / 0.8419 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.0003179/0.2612, allocations: 346.3 kB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2612, allocations: 11.97 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.2613, allocations: 42.73 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.2613, allocations: 12.84 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2615, allocations: 189 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.2615, allocations: 384 / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2615, allocations: 8.375 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.2616, allocations: 78.16 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2617, allocations: 3.938 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2617, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2617, allocations: 4 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.2618, allocations: 47.97 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.2622, allocations: 487.1 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.2623, allocations: 173.1 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.2623, allocations: 80.52 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.2624, allocations: 75.28 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.2624, allocations: 109.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2624, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.278e-05/0.2625, allocations: 37.69 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.2626, allocations: 130.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.2627, allocations: 179 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.2627, allocations: 25.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.2628, allocations: 96.08 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.2628, allocations: 4 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.2629, allocations: 21.64 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.2629, allocations: 314.8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.263, allocations: 11.98 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.263, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.263, allocations: 16.84 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.263, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001183/0.2632, allocations: 57.66 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2632, allocations: 5.25 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2632, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2632, allocations: 4 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.2633, allocations: 8.031 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2633, allocations: 7.875 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.2633, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2633, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 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.979e-05/0.2634, allocations: 189.1 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.2635, allocations: 116.9 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.2635, allocations: 112.8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.023e-05/0.2636, allocations: 184.1 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.291e-05/0.2637, allocations: 180.2 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-05/0.2637, allocations: 192.1 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.2639, allocations: 418.6 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/0.264, allocations: 101 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.264, allocations: 104.9 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/0.2641, allocations: 188.2 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.2641, allocations: 180.2 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-05/0.2642, allocations: 180.2 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.337e-05/0.2643, allocations: 188.2 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.2644, allocations: 315.7 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.2645, allocations: 186 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.2645, allocations: 176.3 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.2646, allocations: 109.2 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.2647, allocations: 192.2 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.2647, allocations: 105 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.491e-05/0.2648, allocations: 133.9 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2648, allocations: 0 / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002237/0.2651, allocations: 4 kB / 1.094 GB, free: 10.61 MB / 0.8575 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.000384/0.2654, allocations: 0.8125 MB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.537e-05/0.2655, allocations: 11.98 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2655, allocations: 0 / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.2655, allocations: 0 / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.266, allocations: 471.6 kB / 1.095 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2672, allocations: 1.6 MB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.2675, allocations: 0.6924 MB / 1.098 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.2675, allocations: 7.984 kB / 1.098 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.2676, allocations: 19.42 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.2676, allocations: 0 / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.2842, allocations: 1.643 MB / 1.099 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.711/8.995, allocations: 3.984 kB / 1.099 GB, free: 5.32 MB / 0.8575 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