Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.006986/0.006986, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001414/0.001414, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.236/2.236, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.8832, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001875/0.8851, allocations: 0.7173 MB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.8862, allocations: 0.8311 MB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.8863, allocations: 0 / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.8863, allocations: 1.656 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.8864, allocations: 9.391 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.8866, allocations: 19.52 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.8867, allocations: 44.05 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.8868, allocations: 11.69 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.8869, allocations: 21.47 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.887, allocations: 22.39 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.887, allocations: 3.844 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.887, allocations: 4.062 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.8871, allocations: 16.11 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.8871, allocations: 17.11 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.8872, allocations: 42.66 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8873, allocations: 4 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8873, allocations: 0 / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.8873, allocations: 0 / 1.089 GB, free: 4.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006872/0.888, allocations: 385.5 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.888, allocations: 13.5 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.8881, allocations: 36.73 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.8881, allocations: 8 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.457e-05/0.8882, allocations: 171.6 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.8882, allocations: 2.281 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.8882, allocations: 2.531 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.8884, allocations: 62.25 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8884, allocations: 7.922 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.8885, allocations: 4 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.8885, allocations: 1.672 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.8887, allocations: 47.97 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.8891, allocations: 304.3 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.8894, allocations: 48.88 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.8895, allocations: 25.58 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.8895, allocations: 3.938 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.8895, allocations: 36.41 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.8896, allocations: 4 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003698/0.8899, allocations: 91.27 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.89, allocations: 52.94 kB / 1.09 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/0.89, allocations: 113.5 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.8901, allocations: 27.08 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.8901, allocations: 87.12 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.8901, allocations: 6.641 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.8902, allocations: 21.88 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.8902, allocations: 321.5 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.8903, allocations: 25.44 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.8904, allocations: 21.52 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.8906, allocations: 44.31 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8906, allocations: 4 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002198/0.8908, allocations: 82.75 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8909, allocations: 5.812 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8909, allocations: 0 / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8909, allocations: 0.9062 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.891, allocations: 10.16 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.891, allocations: 7.922 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.8911, allocations: 18.62 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.8911, allocations: 2.297 kB / 1.091 GB, free: 2.25 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: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.574e-05/0.8912, allocations: 116.2 kB / 1.091 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.8912, allocations: 7.016 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.8915, allocations: 81.28 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.8915, allocations: 2.453 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8915, allocations: 4 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8915, allocations: 0.5156 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.8917, allocations: 175.7 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8917, allocations: 0 / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.8918, allocations: 8.125 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8918, allocations: 5.016 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.8918, allocations: 5.547 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8918, allocations: 0 / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8918, allocations: 0.6094 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.892, allocations: 175.8 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.8921, allocations: 83.95 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.8921, allocations: 1.094 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.8922, allocations: 19.19 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.8923, allocations: 8.594 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.8923, allocations: 5.75 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.8923, allocations: 90.02 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8923, allocations: 0 / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002256/0.8926, allocations: 6.219 kB / 1.092 GB, free: 1.523 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * 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.0004788/0.893, allocations: 0.7096 MB / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.8933, allocations: 50.86 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8933, allocations: 0.9688 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.837e-05/0.8934, allocations: 27 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.8937, allocations: 15.59 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.8951, allocations: 1.317 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.8954, allocations: 0.6819 MB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.8954, allocations: 2.906 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.8955, allocations: 15.19 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8955, allocations: 0 / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.9134, allocations: 1.803 MB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/8.364, allocations: 5.531 kB / 1.097 GB, free: 14.51 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches