Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 103 kB / 16.35 MB, free: 5.824 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.001638/0.001638, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.479/1.479, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.34 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3352, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002027/0.3372, allocations: 0.7274 MB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.3382, allocations: 0.8273 MB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.3383, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/0.3384, allocations: 3.938 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.997e-05/0.3384, allocations: 3.938 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.3386, allocations: 31.89 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.3387, allocations: 39.86 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3389, allocations: 15.98 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.3389, allocations: 15.92 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.339, allocations: 23.92 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.339, allocations: 7.984 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.339, allocations: 4 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3391, allocations: 7.984 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.3391, allocations: 15.88 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.3392, allocations: 47.88 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3392, allocations: 3.984 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3392, allocations: 3.938 kB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3393, allocations: 0 / 1.021 GB, free: 8.047 MB / 0.795 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.0006492/0.3399, allocations: 387.3 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.34, allocations: 8.922 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.34, allocations: 4.938 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3401, allocations: 176.2 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3402, allocations: 4.312 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3402, allocations: 4.375 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3404, allocations: 62.22 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3404, allocations: 4.125 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3404, allocations: 11.94 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3404, allocations: 0 / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.3406, allocations: 35.97 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.3411, allocations: 304.6 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.3414, allocations: 54.55 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.3415, allocations: 25 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3415, allocations: 0 / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3415, allocations: 34.56 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3415, allocations: 0 / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003448/0.3419, allocations: 97.75 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3419, allocations: 55.39 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.342, allocations: 113.8 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.342, allocations: 25.7 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.3421, allocations: 92.05 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.3421, allocations: 3.906 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3422, allocations: 25.7 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.3423, allocations: 314.8 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.3423, allocations: 19.98 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.3424, allocations: 23.97 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.3426, allocations: 44.83 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3426, allocations: 0 / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001869/0.3428, allocations: 81.59 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3428, allocations: 4.375 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3428, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3428, allocations: 3.984 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.3429, allocations: 8 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3429, allocations: 3.938 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.343, allocations: 23.91 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3431, allocations: 4 kB / 1.022 GB, free: 5.801 MB / 0.795 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 8.678e-05/0.3431, allocations: 117.8 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.3432, allocations: 7.906 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.3434, allocations: 85.48 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3434, allocations: 0 / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3435, allocations: 0 / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3435, allocations: 7.938 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3436, allocations: 169.7 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3436, allocations: 3.984 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.3437, allocations: 8 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3437, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3437, allocations: 4 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3437, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3437, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.344, allocations: 183.3 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.344, allocations: 81.11 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3441, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3442, allocations: 15.97 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3443, allocations: 8 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.3443, allocations: 0 / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.3443, allocations: 95.27 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3443, allocations: 0 / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000217/0.3446, allocations: 8 kB / 1.023 GB, free: 4.918 MB / 0.795 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.0001501/0.3447, allocations: 95.48 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3449, allocations: 51.94 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3449, allocations: 0 / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.221e-05/0.345, allocations: 35.91 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.3454, allocations: 11.94 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.3457, allocations: 124 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.346, allocations: 0.6884 MB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.3461, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.3461, allocations: 19.38 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.3461, allocations: 0 / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of Templates: time 0.003284/0.3494, allocations: 0.8171 MB / 1.025 GB, free: 3.031 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches