Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.005906/0.005906, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001183/0.001184, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.355/2.355, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 74.42 kB / 0.9505 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.355, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002298/0.3573, allocations: 0.6942 MB / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3588, allocations: 0.8044 MB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.3589, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.349e-05/0.359, allocations: 7.938 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/0.3591, allocations: 7.922 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.3593, allocations: 19.97 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3594, allocations: 43.8 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3595, allocations: 11.98 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.3596, allocations: 15.98 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.3597, allocations: 23.86 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.3597, allocations: 4 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.3598, allocations: 8 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.3598, allocations: 4 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.3598, allocations: 15.92 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.36, allocations: 43.8 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.36, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.066e-06/0.36, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.36, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006536/0.3606, allocations: 362.2 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.956e-05/0.3607, allocations: 16.03 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.3608, allocations: 30.75 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3608, allocations: 12.78 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.361, allocations: 173.1 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.361, allocations: 384 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.361, allocations: 4.375 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.3613, allocations: 70.2 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3613, allocations: 3.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3613, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3613, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.3617, allocations: 63.92 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.3621, allocations: 272.8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.3624, allocations: 58.53 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3625, allocations: 36.92 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3625, allocations: 3.984 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3626, allocations: 30.56 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.3626, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006903/0.3633, allocations: 133.5 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3633, allocations: 55.41 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3634, allocations: 113.8 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.3635, allocations: 25.7 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.3635, allocations: 88.12 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.3635, allocations: 15.81 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.3636, allocations: 13.72 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3637, allocations: 322.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3639, allocations: 27.97 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.364, allocations: 31.97 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.3643, allocations: 72.72 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3643, allocations: 4 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003401/0.3647, allocations: 97.56 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3647, allocations: 7.984 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3647, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3647, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3649, allocations: 15.98 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3649, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.159e-05/0.365, allocations: 11.98 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.365, allocations: 0 / 1.091 GB, free: 13.89 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 (3): * Single equations (assignments): 3 * 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.872e-05/0.3651, allocations: 117.7 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.3651, allocations: 7.906 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.3655, allocations: 117.4 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3655, allocations: 0 / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3655, allocations: 0 / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3656, allocations: 0 / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3658, allocations: 169.6 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3658, allocations: 3.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3659, allocations: 19.98 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3659, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3659, allocations: 11.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3659, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3659, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.3663, allocations: 191.4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.3664, allocations: 85.02 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3664, allocations: 3.938 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3665, allocations: 15.97 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.3666, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3666, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.3667, allocations: 91.27 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3667, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002184/0.3669, allocations: 4 kB / 1.092 GB, free: 12.96 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 (3): * Single equations (assignments): 3 * 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.0007325/0.3676, allocations: 0.7323 MB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.368, allocations: 79.83 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.368, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.3682, allocations: 31.97 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3686, allocations: 9.094 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.3691, allocations: 167.2 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3693, allocations: 0.6768 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.3694, allocations: 7.984 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.3694, allocations: 15.44 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.3694, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.4112, allocations: 1.656 MB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.413, allocations: 9.328 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches