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.001533/0.001533, 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.0019/0.0019, allocations: 194.6 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.418/1.418, 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.377/2.377, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 63.91 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.7793, allocations: 140.4 MB / 0.9497 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002059/0.7814, allocations: 0.7056 MB / 0.9504 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.7824, allocations: 0.8271 MB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.7825, allocations: 0 / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.7825, allocations: 5.312 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.7826, allocations: 3.938 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.7828, allocations: 18.72 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.809e-05/0.7829, allocations: 41.8 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.783, allocations: 18.95 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.7831, allocations: 16.91 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.7831, allocations: 30.55 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.7832, allocations: 7.062 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.7832, allocations: 4.562 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.7832, allocations: 9.656 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.7833, allocations: 19.02 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.7834, allocations: 47.58 kB / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7834, allocations: 4 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7834, allocations: 0 / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.7834, allocations: 1.5 kB / 0.9515 GB, free: 7.719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006287/0.784, allocations: 386.1 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.7841, allocations: 10.78 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.7841, allocations: 34.73 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.7842, allocations: 3.125 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.7843, allocations: 167.4 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.7843, allocations: 5.594 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.7843, allocations: 3.219 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.7845, allocations: 67.59 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.7845, allocations: 3.938 kB / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.7845, allocations: 4 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.7845, allocations: 1.375 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.7847, allocations: 39.88 kB / 0.9522 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.7852, allocations: 301.2 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.7854, allocations: 59.28 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.7855, allocations: 24.56 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.7856, allocations: 1.25 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.7856, allocations: 35.81 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7856, allocations: 0 / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003601/0.786, allocations: 88.86 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.786, allocations: 56.41 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.368e-05/0.7861, allocations: 113.9 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.7861, allocations: 27.11 kB / 0.9528 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.7861, allocations: 89.36 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.7861, allocations: 13.42 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.7862, allocations: 13.03 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.7862, allocations: 329.4 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.7863, allocations: 19.52 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.7864, allocations: 23.66 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.7866, allocations: 49.52 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7866, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002048/0.7868, allocations: 82.91 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.7868, allocations: 5.188 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7868, allocations: 0 / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7868, allocations: 1.125 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.7869, allocations: 10.48 kB / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.7869, allocations: 0 / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.787, allocations: 21.12 kB / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.787, allocations: 1.219 kB / 0.9535 GB, free: 5.742 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: 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 6.315e-05/0.7871, allocations: 116.4 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.7871, allocations: 6.188 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.7874, allocations: 81.67 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7874, allocations: 5.719 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7874, allocations: 0 / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7874, allocations: 0 / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.7876, allocations: 177.5 kB / 0.9538 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7876, allocations: 0 / 0.9538 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.7876, allocations: 10.2 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7876, allocations: 0 / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.7876, allocations: 1.094 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7877, allocations: 0 / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7877, allocations: 1.156 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.7879, allocations: 174.6 kB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.7879, allocations: 82.08 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.788, allocations: 5.141 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.7881, allocations: 16.84 kB / 0.9541 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.7882, allocations: 11.95 kB / 0.9541 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.7882, allocations: 4 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.7882, allocations: 91.17 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7882, allocations: 0 / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002191/0.7885, allocations: 7.219 kB / 0.9542 GB, free: 4.965 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: 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.000419/0.7889, allocations: 0.7066 MB / 0.9549 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.7891, allocations: 54.98 kB / 0.955 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7891, allocations: 3.938 kB / 0.955 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.7892, allocations: 23.05 kB / 0.955 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.7895, allocations: 11.59 kB / 0.955 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.7907, allocations: 1.329 MB / 0.9563 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.7909, allocations: 0.6839 MB / 0.957 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.7909, allocations: 2.25 kB / 0.957 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.7909, allocations: 21.7 kB / 0.957 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7909, allocations: 1.281 kB / 0.957 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.809, allocations: 1.775 MB / 0.9587 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/8.318, allocations: 1.844 kB / 0.9587 GB, free: 1.281 MB / 0.7169 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