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.001492/0.001492, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002023/0.002023, allocations: 191.8 kB / 16.25 MB, free: 6.648 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.569/2.569, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 71.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7291/0.7307, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001994/0.7327, allocations: 0.7784 MB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.7336, allocations: 0.8273 MB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.7336, allocations: 4 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.7337, allocations: 3.938 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.7338, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.734, allocations: 19.92 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.734, allocations: 47.84 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.7342, allocations: 19.98 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.7342, allocations: 11.98 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.7343, allocations: 23.86 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.7343, allocations: 8 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.7343, allocations: 4 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.7344, allocations: 8 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.7344, allocations: 23.84 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.572e-05/0.7345, allocations: 35.88 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.7345, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7345, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7345, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 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.0006151/0.7352, allocations: 389.2 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.7352, allocations: 12.02 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.7352, allocations: 4.938 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.7354, allocations: 164.3 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.7354, allocations: 8.375 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.7354, allocations: 4.312 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.7356, allocations: 70.22 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.7356, allocations: 192 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.7356, allocations: 3.938 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.7356, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.7358, allocations: 47.89 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.7363, allocations: 304.7 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.7366, allocations: 50.55 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.7367, allocations: 25 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.7367, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.7367, allocations: 34.56 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7367, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003516/0.7371, allocations: 97.75 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.7371, allocations: 55.34 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.7372, allocations: 113.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.7372, allocations: 33.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.7373, allocations: 92.08 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.7373, allocations: 3.906 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.7374, allocations: 13.72 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.7375, allocations: 322.8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.7376, allocations: 19.98 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.7376, allocations: 23.97 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.7378, allocations: 44.83 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7378, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002151/0.738, allocations: 85.5 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.7381, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7381, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.7381, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.7382, allocations: 15.98 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7382, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.7383, allocations: 15.97 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.7383, allocations: 0 / 1.021 GB, free: 14.68 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 7.83e-05/0.7384, allocations: 118.3 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.7384, allocations: 7.906 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.7387, allocations: 85.48 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.7387, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7387, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.7387, allocations: 384 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.7389, allocations: 173.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7389, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.739, allocations: 11.98 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.739, allocations: 3.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.739, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.739, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.739, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.7392, allocations: 175.4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.7393, allocations: 81.02 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.7393, allocations: 8 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.7394, allocations: 19.92 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.7395, allocations: 7.984 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.7395, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.7396, allocations: 91.27 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7396, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000224/0.7398, allocations: 4 kB / 1.021 GB, free: 13.8 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.0001177/0.7399, allocations: 107.4 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.7402, allocations: 55.94 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.7402, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.7403, allocations: 31.91 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.7406, allocations: 7.922 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.7409, allocations: 142.2 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.7411, allocations: 0.6807 MB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.7412, allocations: 3.984 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.7412, allocations: 11.44 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7412, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.002643/0.7439, allocations: 0.7027 MB / 1.023 GB, free: 12.02 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