Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.01042/0.01042, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.002464/0.002464, allocations: 195.4 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.609/2.609, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.025/4.025, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 67.91 kB / 0.9505 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475/1.478, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.004783/1.483, allocations: 0.7016 MB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002136/1.485, allocations: 0.8067 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/1.485, allocations: 1.281 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.057e-05/1.485, allocations: 3.938 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/1.485, allocations: 10.12 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/1.485, allocations: 9.953 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/1.486, allocations: 51.2 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/1.486, allocations: 10.66 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/1.486, allocations: 17.55 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/1.486, allocations: 18.48 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/1.486, allocations: 3.688 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/1.486, allocations: 4.062 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/1.486, allocations: 11.17 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/1.486, allocations: 24.7 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/1.487, allocations: 40.77 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.487, allocations: 0 / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.19e-06/1.487, allocations: 1.281 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.487, allocations: 0 / 1.089 GB, free: 4.109 MB / 0.8575 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.0008674/1.487, allocations: 359.3 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.541e-05/1.488, allocations: 10.77 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/1.488, allocations: 44.33 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/1.488, allocations: 7.172 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/1.488, allocations: 168.2 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/1.488, allocations: 5.188 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/1.488, allocations: 2.562 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/1.488, allocations: 68.47 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/1.488, allocations: 8.484 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/1.488, allocations: 1.062 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.488, allocations: 7.938 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/1.489, allocations: 63.16 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/1.49, allocations: 270.2 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/1.49, allocations: 59.77 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/1.49, allocations: 36.8 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/1.49, allocations: 1.219 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/1.49, allocations: 31.95 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.334e-06/1.49, allocations: 0 / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.00103/1.492, allocations: 136.2 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/1.492, allocations: 53.19 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/1.492, allocations: 107 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/1.492, allocations: 30.86 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/1.492, allocations: 86.3 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/1.492, allocations: 10.22 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/1.492, allocations: 17.89 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.492, allocations: 317.5 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/1.492, allocations: 30.36 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/1.493, allocations: 28.73 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/1.493, allocations: 74.22 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.493, allocations: 0 / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006612/1.494, allocations: 106.3 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/1.494, allocations: 6.406 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.494, allocations: 0 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.494, allocations: 5.031 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/1.494, allocations: 15.77 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.494, allocations: 320 / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/1.494, allocations: 12.48 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/1.494, allocations: 5.031 kB / 1.091 GB, free: 2.285 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 0.0001035/1.495, allocations: 119.2 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/1.495, allocations: 1 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006336/1.495, allocations: 110.1 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.495, allocations: 0 / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.495, allocations: 0.6094 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.495, allocations: 1.25 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/1.496, allocations: 174.3 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.496, allocations: 1.031 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/1.496, allocations: 23.25 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/1.496, allocations: 0.75 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.496, allocations: 1.812 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/1.496, allocations: 4 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.496, allocations: 0.7031 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/1.497, allocations: 209.9 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/1.497, allocations: 78.91 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/1.497, allocations: 1.125 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/1.497, allocations: 12.17 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.497, allocations: 7.547 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/1.497, allocations: 0.9688 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.911e-05/1.497, allocations: 92.59 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.01e-07/1.497, allocations: 0 / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000446/1.498, allocations: 9.828 kB / 1.092 GB, free: 1.551 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.001256/1.499, allocations: 0.7286 MB / 1.093 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007439/1.5, allocations: 75.08 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.5, allocations: 0 / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/1.5, allocations: 34.56 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/1.501, allocations: 4.516 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/1.502, allocations: 158.8 kB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/1.503, allocations: 0.6808 MB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.66e-05/1.503, allocations: 1.531 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/1.503, allocations: 14.88 kB / 1.094 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of SimCode: time 7.71e-07/1.503, allocations: 0 / 1.094 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/1.54, allocations: 1.635 MB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.54, allocations: 11.17 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches