Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.00577/0.00577, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001253/0.001253, allocations: 196 kB / 16.67 MB, free: 5.52 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.17 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 2.361/2.361, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.89 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8079, 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.Round): time 0.001807/0.8098, allocations: 0.7623 MB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.8107, allocations: 0.8335 MB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.8107, allocations: 1.125 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.8108, allocations: 12.8 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.8109, allocations: 9.688 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.811, allocations: 34.17 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.8111, allocations: 74.05 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.8113, allocations: 20.84 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.8114, allocations: 27.23 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.8115, allocations: 40.67 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.8115, allocations: 6.219 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.8115, allocations: 7.969 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.8116, allocations: 25.64 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.8116, allocations: 25.83 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.8118, allocations: 82.77 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8118, allocations: 0 / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8118, allocations: 0 / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.8118, allocations: 0.9062 kB / 1.089 GB, free: 3.965 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005412/0.8123, allocations: 380.3 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.8124, allocations: 9.75 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.8124, allocations: 33.56 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.8125, allocations: 13 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.8126, allocations: 178.6 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.8126, allocations: 3.438 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.8127, allocations: 3.406 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.8129, allocations: 86.77 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.8129, allocations: 3.938 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.813, allocations: 0.9688 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.813, allocations: 1.125 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.8132, allocations: 74.31 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.8137, allocations: 321.7 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.814, allocations: 83 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.8142, allocations: 45.77 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.8142, allocations: 4.984 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.8142, allocations: 31.95 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.8142, allocations: 0.7812 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005356/0.8148, allocations: 132.3 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.8148, allocations: 52.72 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.8149, allocations: 128.2 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.8149, allocations: 25.7 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.815, allocations: 101.7 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.815, allocations: 19.14 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.8151, allocations: 21.78 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.8152, allocations: 317.6 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.8153, allocations: 30.73 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.8154, allocations: 38.98 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.8157, allocations: 66.41 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8157, allocations: 1.594 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002845/0.816, allocations: 105.2 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.816, allocations: 5.844 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.816, allocations: 0.7969 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.816, allocations: 5.25 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.8162, allocations: 15.47 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8162, allocations: 1.188 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.8163, allocations: 14.39 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.8163, allocations: 2.062 kB / 1.092 GB, free: 2.012 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 (6): * Single equations (assignments): 6 * 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 7.514e-05/0.8164, allocations: 121.6 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.8164, allocations: 8.016 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.8165, allocations: 10.59 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.8165, allocations: 5 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8165, allocations: 0 / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8165, allocations: 1.297 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.8167, allocations: 194.2 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.8167, allocations: 1.406 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.8168, allocations: 23.58 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.8168, allocations: 5.312 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.8169, allocations: 1.359 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8169, allocations: 0.5938 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8169, allocations: 0.5625 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.8172, allocations: 203.3 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.8173, allocations: 83.31 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.8173, allocations: 0.8438 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.8174, allocations: 6.844 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.8175, allocations: 12.98 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.8175, allocations: 6.641 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.8175, allocations: 97.27 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8175, allocations: 0.7812 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002456/0.8178, allocations: 9.25 kB / 1.092 GB, free: 1.309 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 (6): * Single equations (assignments): 6 * 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.0006022/0.8184, allocations: 0.749 MB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.8187, allocations: 71.67 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8187, allocations: 0.8125 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.8189, allocations: 42.84 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.8192, allocations: 8.734 kB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.8212, allocations: 1.454 MB / 1.095 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.8214, allocations: 0.6876 MB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.78e-05/0.8215, allocations: 13.75 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.8216, allocations: 28.62 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8216, allocations: 3.938 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.8407, allocations: 2.315 MB / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.48, allocations: 9.672 kB / 1.098 GB, free: 14.16 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_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_Round.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches