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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: 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_9_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_9_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.00103/0.00103, allocations: 97.78 kB / 16.02 MB, free: 76 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.001395/0.001395, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.498/1.498, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.56/2.56, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004385, allocations: 12 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.779, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.000849/0.7799, allocations: 447.5 kB / 0.9562 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.7807, allocations: 0.8306 MB / 0.957 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.7808, allocations: 1.156 kB / 0.957 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.7808, allocations: 0 / 0.957 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.7808, allocations: 3.938 kB / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.781, allocations: 11.77 kB / 0.957 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.986e-05/0.7811, allocations: 36.05 kB / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.7812, allocations: 17.72 kB / 0.957 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.601e-05/0.7813, allocations: 17.62 kB / 0.957 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.7813, allocations: 21.59 kB / 0.9571 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.7813, allocations: 1.438 kB / 0.9571 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-06/0.7813, allocations: 1.406 kB / 0.9571 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.7814, allocations: 5.406 kB / 0.9571 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.7814, allocations: 41.31 kB / 0.9571 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.971e-05/0.7815, allocations: 34.14 kB / 0.9571 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7815, allocations: 0 / 0.9571 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7815, allocations: 0 / 0.9571 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.726e-06/0.7815, allocations: 5.312 kB / 0.9572 GB, free: 6.598 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.000535/0.782, allocations: 386.8 kB / 0.9575 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7821, allocations: 13.53 kB / 0.9575 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.7821, allocations: 11.03 kB / 0.9575 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.7822, allocations: 166.7 kB / 0.9577 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.7822, allocations: 6.281 kB / 0.9577 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.7823, allocations: 2.25 kB / 0.9577 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.7824, allocations: 68.28 kB / 0.9578 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.7825, allocations: 192 / 0.9578 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.7825, allocations: 9.25 kB / 0.9578 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7825, allocations: 1.344 kB / 0.9578 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.7827, allocations: 53.39 kB / 0.9578 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.7832, allocations: 304.5 kB / 0.9581 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.7834, allocations: 61.55 kB / 0.9582 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.7835, allocations: 30.67 kB / 0.9582 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.7835, allocations: 1.141 kB / 0.9582 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.7836, allocations: 35.61 kB / 0.9583 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.7836, allocations: 0 / 0.9583 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003793/0.784, allocations: 123.9 kB / 0.9584 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.784, allocations: 52.56 kB / 0.9584 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.7841, allocations: 108.9 kB / 0.9585 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.7841, allocations: 34.67 kB / 0.9586 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.7841, allocations: 94.12 kB / 0.9586 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.7841, allocations: 9.797 kB / 0.9587 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.7842, allocations: 10.81 kB / 0.9587 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.7842, allocations: 319.8 kB / 0.959 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.707e-05/0.7843, allocations: 28.72 kB / 0.959 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/0.7844, allocations: 29.02 kB / 0.959 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.7846, allocations: 54.88 kB / 0.9591 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7846, allocations: 1.031 kB / 0.9591 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002097/0.7848, allocations: 91.41 kB / 0.9592 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7849, allocations: 5 kB / 0.9592 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7849, allocations: 1.406 kB / 0.9592 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.7849, allocations: 0 / 0.9592 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.785, allocations: 12.58 kB / 0.9592 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.785, allocations: 9 kB / 0.9592 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.7851, allocations: 21.2 kB / 0.9592 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.7851, allocations: 1.156 kB / 0.9592 GB, free: 4.648 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 5.266e-05/0.7852, allocations: 113.3 kB / 0.9593 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.7852, allocations: 1.219 kB / 0.9593 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.7854, allocations: 100.6 kB / 0.9594 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7855, allocations: 0 / 0.9594 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.7855, allocations: 1.5 kB / 0.9594 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.7855, allocations: 0 / 0.9594 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.7856, allocations: 174 kB / 0.9596 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7856, allocations: 0 / 0.9596 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.7857, allocations: 15.73 kB / 0.9596 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.7857, allocations: 2.156 kB / 0.9596 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.7857, allocations: 0 / 0.9596 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7857, allocations: 0 / 0.9596 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7857, allocations: 384 / 0.9596 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.7859, allocations: 188.5 kB / 0.9598 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.7859, allocations: 78.17 kB / 0.9599 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.786, allocations: 4.938 kB / 0.9599 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.7861, allocations: 29.88 kB / 0.9599 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.7862, allocations: 10.92 kB / 0.9599 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.7862, allocations: 1.984 kB / 0.9599 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.7862, allocations: 86.06 kB / 0.96 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7862, allocations: 0 / 0.96 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000214/0.7864, allocations: 10.78 kB / 0.96 GB, free: 3.871 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 9.731e-05/0.7865, allocations: 104.8 kB / 0.9601 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.7868, allocations: 64.58 kB / 0.9602 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7868, allocations: 1.438 kB / 0.9602 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.7869, allocations: 26.14 kB / 0.9602 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.7872, allocations: 12.59 kB / 0.9602 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.7875, allocations: 164.2 kB / 0.9604 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.605e-05/0.7876, allocations: 0.684 MB / 0.961 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.7876, allocations: 11 kB / 0.961 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7876, allocations: 0 / 0.961 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of Templates: time 0.002011/0.7896, allocations: 0.7557 MB / 0.9618 GB, free: 2.473 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/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