Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.001125/0.001125, 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.001186/0.001186, allocations: 193.7 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.309/2.309, allocations: 390.3 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.571/0.5724, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001769/0.5742, allocations: 0.7011 MB / 0.9504 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007883/0.575, allocations: 0.8701 MB / 0.9513 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.5751, allocations: 1.281 kB / 0.9513 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.5751, allocations: 3.938 kB / 0.9513 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.5752, allocations: 5.25 kB / 0.9513 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.5754, allocations: 20.06 kB / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.5755, allocations: 49.28 kB / 0.9514 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.5756, allocations: 3.844 kB / 0.9514 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.5756, allocations: 22.83 kB / 0.9514 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.5757, allocations: 16.48 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.5757, allocations: 4.75 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.5757, allocations: 2.75 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.5758, allocations: 13.08 kB / 0.9514 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.5758, allocations: 15.91 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.989e-05/0.5759, allocations: 51.34 kB / 0.9515 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5759, allocations: 0 / 0.9515 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5759, allocations: 0.9375 kB / 0.9515 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.5759, allocations: 0 / 0.9515 GB, free: 7.848 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.0004379/0.5764, allocations: 362.1 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5764, allocations: 8.688 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.5764, allocations: 36.28 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.5765, allocations: 10.19 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.5766, allocations: 178.4 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.5766, allocations: 1.5 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.5766, allocations: 2.969 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.5768, allocations: 71.41 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.5768, allocations: 3.938 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5769, allocations: 0 / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5769, allocations: 1.5 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.5772, allocations: 66.73 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.5774, allocations: 266.7 kB / 0.9524 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.5776, allocations: 61.36 kB / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.5778, allocations: 39.16 kB / 0.9525 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.5778, allocations: 1.188 kB / 0.9525 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.5778, allocations: 31.62 kB / 0.9526 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.5778, allocations: 0 / 0.9526 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005269/0.5784, allocations: 137.3 kB / 0.9527 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.5784, allocations: 52.53 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.5785, allocations: 107.1 kB / 0.9529 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.5785, allocations: 26.83 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.5785, allocations: 86.08 kB / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.5785, allocations: 8.688 kB / 0.953 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.5786, allocations: 25.02 kB / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.5786, allocations: 311.8 kB / 0.9533 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.5788, allocations: 29.91 kB / 0.9533 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.5789, allocations: 34.14 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.5792, allocations: 74.78 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.5792, allocations: 0 / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003083/0.5795, allocations: 101.4 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5795, allocations: 4.5 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5795, allocations: 1.422 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5796, allocations: 0 / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.5797, allocations: 22.55 kB / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5797, allocations: 1 kB / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.5798, allocations: 14.56 kB / 0.9536 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.5798, allocations: 1.375 kB / 0.9536 GB, free: 5.836 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.644e-05/0.5798, allocations: 112.3 kB / 0.9537 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.5799, allocations: 9.359 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.5799, allocations: 9.375 kB / 0.9537 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5799, allocations: 4 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5799, allocations: 1.25 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5799, allocations: 0 / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.58, allocations: 177.2 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.58, allocations: 0 / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.5801, allocations: 15.08 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5802, allocations: 0 / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.5802, allocations: 5.312 kB / 0.9539 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5802, allocations: 3.938 kB / 0.9539 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5802, allocations: 0 / 0.9539 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.5805, allocations: 208.4 kB / 0.9541 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.5805, allocations: 78.48 kB / 0.9542 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.5806, allocations: 1.094 kB / 0.9542 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5807, allocations: 10.52 kB / 0.9542 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.5807, allocations: 10.14 kB / 0.9542 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.5807, allocations: 0.7812 kB / 0.9542 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.5808, allocations: 85.38 kB / 0.9543 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5808, allocations: 0 / 0.9543 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002246/0.581, allocations: 6.438 kB / 0.9543 GB, free: 5.105 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.0005241/0.5815, allocations: 0.7371 MB / 0.955 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.5819, allocations: 71.42 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5819, allocations: 0 / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.582, allocations: 41.11 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.5823, allocations: 4.781 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.5827, allocations: 164.1 kB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.623e-05/0.5828, allocations: 0.6874 MB / 0.9559 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.5828, allocations: 1.188 kB / 0.9559 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.5829, allocations: 13.56 kB / 0.9559 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5829, allocations: 0 / 0.9559 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.5989, allocations: 1.642 MB / 0.9575 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.878, allocations: 4.75 kB / 0.9576 GB, free: 2.562 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_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_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches