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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00116/0.00116, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.0105/0.0105, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.545/1.545, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003304, allocations: 12 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8411, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001174/0.8424, allocations: 450.1 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.8435, allocations: 0.8313 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.8435, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.8436, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.257e-05/0.8437, allocations: 3.938 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.8439, allocations: 15.97 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.131e-05/0.844, allocations: 43.8 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.8441, allocations: 15.98 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.917e-05/0.8442, allocations: 11.98 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.8443, allocations: 23.86 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.8443, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.8443, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.8444, allocations: 7.984 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.8444, allocations: 45.56 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.8445, allocations: 47.8 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8445, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8445, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8446, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 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.0007239/0.8453, allocations: 381.4 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.8453, allocations: 16.02 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.8454, allocations: 8.844 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.8456, allocations: 172.3 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.8456, allocations: 384 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.8456, allocations: 4.375 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.8459, allocations: 62.23 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.8459, allocations: 4.172 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.8459, allocations: 11.94 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8459, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.8461, allocations: 51.91 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.8467, allocations: 300.8 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.847, allocations: 54.66 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.8471, allocations: 40.83 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.8472, allocations: 4 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.8472, allocations: 34.56 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.615e-06/0.8472, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004037/0.8476, allocations: 109.5 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.8477, allocations: 51.41 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.8478, allocations: 117.8 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.8478, allocations: 30.08 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.8478, allocations: 92.08 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.8479, allocations: 3.906 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.8479, allocations: 21.66 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.848, allocations: 322.7 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.8481, allocations: 23.98 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.8482, allocations: 31.97 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.8484, allocations: 57.09 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8484, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002239/0.8486, allocations: 93.56 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.8487, allocations: 4 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8487, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.8487, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.8488, allocations: 19.92 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8488, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.8489, allocations: 23.97 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.8489, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 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 9.727e-05/0.849, allocations: 119.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.8491, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.8493, allocations: 89.55 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8494, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8494, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8494, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.8495, allocations: 173.5 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8496, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.8496, allocations: 19.92 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8496, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.8496, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8497, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.8497, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.8499, allocations: 187.4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.85, allocations: 85.02 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.85, allocations: 3.938 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.8501, allocations: 15.98 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.8502, allocations: 7.984 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.8502, allocations: 8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.8503, allocations: 87.27 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8503, allocations: 4.281 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002095/0.8505, allocations: 4 kB / 1.027 GB, free: 11.12 MB / 0.7794 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.0001382/0.8506, allocations: 111.1 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.8509, allocations: 63.89 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8509, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.851, allocations: 31.97 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.8513, allocations: 7.938 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.8517, allocations: 143 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.852, allocations: 0.6848 MB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.852, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.8521, allocations: 11.44 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.8521, allocations: 0 / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of Templates: time 0.003184/0.8553, allocations: 0.659 MB / 1.029 GB, free: 9.363 MB / 0.7794 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 -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/jenkins/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