Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.001337/0.001337, 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.001432/0.001432, allocations: 194 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.324/2.324, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5769/0.5783, allocations: 140.4 MB / 0.9497 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001624/0.58, allocations: 0.6951 MB / 0.9504 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.5806, allocations: 0.8009 MB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.5806, allocations: 1.375 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.5806, allocations: 3.938 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.5807, allocations: 9.312 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.289e-05/0.5808, allocations: 13.36 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.5808, allocations: 41.3 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.5809, allocations: 13.36 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.873e-05/0.581, allocations: 16.8 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.581, allocations: 25.09 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.5811, allocations: 4.25 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.5811, allocations: 4.219 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.5811, allocations: 15.92 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.5811, allocations: 12.09 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.851e-05/0.5812, allocations: 35.69 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5812, allocations: 0 / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5812, allocations: 0 / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5812, allocations: 3.984 kB / 0.9514 GB, free: 7.785 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004296/0.5817, allocations: 370 kB / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5817, allocations: 10 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.577e-05/0.5817, allocations: 34.75 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.5818, allocations: 4 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.751e-05/0.5818, allocations: 171 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.5819, allocations: 4.312 kB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.5819, allocations: 7.062 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.5821, allocations: 63.31 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5821, allocations: 7.922 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5821, allocations: 7.938 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5821, allocations: 5.688 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.5824, allocations: 62.42 kB / 0.9521 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.5827, allocations: 267.3 kB / 0.9524 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.5829, allocations: 61.05 kB / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.5831, allocations: 39.38 kB / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.5831, allocations: 0 / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.5831, allocations: 35.59 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.5831, allocations: 1.25 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005313/0.5837, allocations: 129.6 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.5837, allocations: 59.33 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.744e-05/0.5837, allocations: 116 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.5838, allocations: 25.7 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.5838, allocations: 90.7 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.5838, allocations: 13.06 kB / 0.9529 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.5838, allocations: 12.22 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.5839, allocations: 320.1 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.5841, allocations: 32.78 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.5842, allocations: 34.05 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.5845, allocations: 71.08 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5845, allocations: 0 / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003054/0.5848, allocations: 100.9 kB / 0.9535 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5848, allocations: 10.45 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.5848, allocations: 4 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5848, allocations: 0 / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.585, allocations: 13.89 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.585, allocations: 1 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.585, allocations: 10.27 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.5851, allocations: 1.344 kB / 0.9535 GB, free: 5.758 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 (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 4.249e-05/0.5851, allocations: 115.9 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.5851, allocations: 6.438 kB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.5852, allocations: 8.922 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5852, allocations: 0 / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.5852, allocations: 1.125 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5852, allocations: 0 / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.5853, allocations: 169.8 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5853, allocations: 3.938 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.654e-05/0.5854, allocations: 19 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.5854, allocations: 0 / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.5854, allocations: 0 / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5854, allocations: 5.438 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5854, allocations: 0 / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.5858, allocations: 204.3 kB / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.5858, allocations: 78.23 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.5858, allocations: 1.219 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5859, allocations: 18 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.586, allocations: 6.875 kB / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.586, allocations: 0 / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.586, allocations: 89.58 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.586, allocations: 0 / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002202/0.5862, allocations: 6.531 kB / 0.9542 GB, free: 5.031 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 (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.0004949/0.5867, allocations: 0.7369 MB / 0.9549 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.5871, allocations: 70.14 kB / 0.955 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5871, allocations: 3.938 kB / 0.955 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.5872, allocations: 32.97 kB / 0.955 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.5875, allocations: 7.219 kB / 0.955 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.5879, allocations: 157.4 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.654e-05/0.588, allocations: 0.6835 MB / 0.9558 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.588, allocations: 3.984 kB / 0.9558 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.5881, allocations: 17.94 kB / 0.9559 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5881, allocations: 0 / 0.9559 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.6032, allocations: 1.601 MB / 0.9574 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.635, allocations: 9.297 kB / 0.9574 GB, free: 2.508 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_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_Average.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches