Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.001137/0.001137, allocations: 108 kB / 15.61 MB, free: 152 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.00134/0.00134, allocations: 197 kB / 16.53 MB, free: 6.664 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.3/2.3, allocations: 390.3 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 75.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5138, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001584/0.5154, allocations: 0.6619 MB / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005693/0.516, allocations: 0.7987 MB / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.5161, allocations: 4 kB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.5161, allocations: 3.938 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.5162, allocations: 5.047 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.5163, allocations: 13.27 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.5163, allocations: 18.25 kB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.5164, allocations: 6.984 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.801e-05/0.5165, allocations: 6.594 kB / 0.9512 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.263e-05/0.5165, allocations: 19.83 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.5165, allocations: 1.438 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-06/0.5165, allocations: 6.5 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.5165, allocations: 0 / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.5166, allocations: 10.66 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.71e-05/0.5166, allocations: 23.58 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5166, allocations: 3.984 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5167, allocations: 1.719 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.5167, allocations: 0 / 0.9513 GB, free: 7.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003052/0.517, allocations: 339.1 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.517, allocations: 13.31 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.925e-05/0.517, allocations: 30.75 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/0.5171, allocations: 2.031 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.143e-05/0.5171, allocations: 166.4 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.5171, allocations: 1.781 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.5172, allocations: 384 / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5173, allocations: 53.91 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.5173, allocations: 3.938 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.5173, allocations: 1.531 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5173, allocations: 0 / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.5175, allocations: 43.23 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.5177, allocations: 247.7 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5179, allocations: 40.06 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.518, allocations: 30.3 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.518, allocations: 0 / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.015e-05/0.518, allocations: 35.75 kB / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.518, allocations: 0 / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003169/0.5183, allocations: 80.45 kB / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.615e-05/0.5183, allocations: 56.84 kB / 0.9524 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.25e-05/0.5184, allocations: 98.8 kB / 0.9525 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-06/0.5184, allocations: 25.7 kB / 0.9525 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.842e-05/0.5184, allocations: 85.44 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.5184, allocations: 9.219 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.5185, allocations: 20.31 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.156e-05/0.5185, allocations: 314.8 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/0.5186, allocations: 16.98 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.5187, allocations: 21.78 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.5188, allocations: 40.73 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5188, allocations: 3.938 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001796/0.519, allocations: 63.97 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.519, allocations: 10.38 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.519, allocations: 0 / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.5191, allocations: 1.281 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.5191, allocations: 9.516 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.5192, allocations: 1.312 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.5192, allocations: 6.688 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.5192, allocations: 1.906 kB / 0.9531 GB, free: 6.074 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 (2): * Single equations (assignments): 2 * 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 3.692e-05/0.5193, allocations: 111.4 kB / 0.9532 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.5193, allocations: 13.11 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.5195, allocations: 74.44 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5195, allocations: 0 / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5195, allocations: 0 / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.5195, allocations: 0.9688 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.5196, allocations: 158.7 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5196, allocations: 0 / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.5197, allocations: 10.14 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.5197, allocations: 4.031 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.5197, allocations: 1.312 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.5197, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5197, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.5199, allocations: 163.3 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.5199, allocations: 81.98 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.52, allocations: 5.188 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.52, allocations: 7.047 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.5201, allocations: 5.531 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.5201, allocations: 5.188 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.828e-05/0.5201, allocations: 83.55 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5201, allocations: 0 / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002155/0.5203, allocations: 2 kB / 0.9538 GB, free: 5.336 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 (2): * Single equations (assignments): 2 * 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.0003394/0.5207, allocations: 0.7041 MB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.5209, allocations: 40.61 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5209, allocations: 1.094 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.521, allocations: 19.52 kB / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.5212, allocations: 2.781 kB / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.5216, allocations: 139.2 kB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.693e-05/0.5217, allocations: 0.6809 MB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.5217, allocations: 1.906 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.5217, allocations: 12.81 kB / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.5217, allocations: 3.938 kB / 0.9553 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.5372, allocations: 1.239 MB / 0.9565 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.89, allocations: 9.797 kB / 0.9565 GB, free: 3.023 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_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_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches