Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.0016/0.0016, 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.001969/0.001969, allocations: 194.2 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.279/2.279, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 72.08 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5285, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001819/0.5303, allocations: 0.8824 MB / 0.9506 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.5311, allocations: 0.8921 MB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.5312, allocations: 1.375 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.5312, allocations: 16.95 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.957e-05/0.5313, allocations: 7.875 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.5315, allocations: 65.31 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.5316, allocations: 130.9 kB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.5318, allocations: 67.08 kB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.5319, allocations: 56.45 kB / 0.9518 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.5319, allocations: 58.09 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.532, allocations: 22.19 kB / 0.9519 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.532, allocations: 12.47 kB / 0.9519 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.532, allocations: 24.11 kB / 0.9519 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.5321, allocations: 63.66 kB / 0.952 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.5322, allocations: 134.5 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5322, allocations: 0 / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5322, allocations: 0 / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.5322, allocations: 0 / 0.9521 GB, free: 7.309 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005251/0.5327, allocations: 451.6 kB / 0.9525 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.5328, allocations: 9.375 kB / 0.9525 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/0.5328, allocations: 42.44 kB / 0.9526 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.5329, allocations: 24.64 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.533, allocations: 202.7 kB / 0.9528 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5331, allocations: 9.188 kB / 0.9528 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.5331, allocations: 12.72 kB / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.5334, allocations: 143.7 kB / 0.953 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5334, allocations: 9.281 kB / 0.953 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.5334, allocations: 5.531 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.5334, allocations: 2.75 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.5337, allocations: 133.2 kB / 0.9531 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.5344, allocations: 496.6 kB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.5346, allocations: 86.95 kB / 0.9537 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.5347, allocations: 43.8 kB / 0.9537 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.5347, allocations: 8.984 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.5348, allocations: 39.94 kB / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.5348, allocations: 9.125 kB / 0.9538 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004396/0.5352, allocations: 157.8 kB / 0.9539 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.5352, allocations: 52.94 kB / 0.954 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.5354, allocations: 187.7 kB / 0.9541 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.5354, allocations: 29.7 kB / 0.9542 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.5355, allocations: 114.8 kB / 0.9543 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.5355, allocations: 35.05 kB / 0.9543 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.5356, allocations: 30.23 kB / 0.9543 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.5356, allocations: 322.5 kB / 0.9546 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.5357, allocations: 42.25 kB / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.5359, allocations: 46.53 kB / 0.9547 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.5361, allocations: 90.61 kB / 0.9548 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5361, allocations: 7.938 kB / 0.9548 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002934/0.5364, allocations: 145.9 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5364, allocations: 7.562 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5365, allocations: 0 / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5365, allocations: 0 / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.5366, allocations: 24.55 kB / 0.955 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.5366, allocations: 0 / 0.955 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.5368, allocations: 23.2 kB / 0.955 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5368, allocations: 10.91 kB / 0.955 GB, free: 4.801 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 (13): * Single equations (assignments): 13 * 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 6.438e-05/0.5368, allocations: 122 kB / 0.9551 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.5369, allocations: 14.66 kB / 0.9552 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.5372, allocations: 140.6 kB / 0.9553 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5372, allocations: 5.453 kB / 0.9553 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5372, allocations: 480 / 0.9553 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5373, allocations: 4 kB / 0.9553 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.5377, allocations: 449.8 kB / 0.9557 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5377, allocations: 1.312 kB / 0.9557 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.5379, allocations: 28.5 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5379, allocations: 5.625 kB / 0.9558 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5379, allocations: 10.5 kB / 0.9558 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.5379, allocations: 1.594 kB / 0.9558 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5379, allocations: 1.188 kB / 0.9558 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.5382, allocations: 255.8 kB / 0.956 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.5382, allocations: 84.95 kB / 0.9561 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.5383, allocations: 9.406 kB / 0.9561 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.5384, allocations: 17.91 kB / 0.9561 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.5385, allocations: 5.969 kB / 0.9561 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.5385, allocations: 7.719 kB / 0.9561 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.991e-05/0.5386, allocations: 148.7 kB / 0.9563 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5386, allocations: 0 / 0.9563 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002558/0.5388, allocations: 31 kB / 0.9563 GB, free: 3.66 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0004893/0.5393, allocations: 0.7794 MB / 0.9571 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.5396, allocations: 99.12 kB / 0.9572 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5396, allocations: 1.094 kB / 0.9572 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.5398, allocations: 51.31 kB / 0.9572 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.5401, allocations: 19.75 kB / 0.9572 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.5418, allocations: 1.883 MB / 0.9591 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.542, allocations: 0.7078 MB / 0.9598 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.542, allocations: 13.33 kB / 0.9598 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.5421, allocations: 43.86 kB / 0.9598 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5421, allocations: 1.375 kB / 0.9598 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.5586, allocations: 2.764 MB / 0.9625 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.918, allocations: 3.984 kB / 0.9625 GB, free: 15.11 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_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_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches