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.001615/0.001615, allocations: 100.1 kB / 15.88 MB, free: 12 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.001726/0.001726, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.436/1.436, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.429/2.429, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.733/0.7345, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001816/0.7363, allocations: 0.7714 MB / 0.9504 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000767/0.7371, allocations: 0.8286 MB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.7372, allocations: 4 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.623e-05/0.7372, allocations: 1.375 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-05/0.7373, allocations: 3.938 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.7375, allocations: 14.73 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.7375, allocations: 36.42 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.7376, allocations: 22.83 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.3e-05/0.7377, allocations: 17.42 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.7378, allocations: 17.42 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.7378, allocations: 6.75 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.7378, allocations: 6.688 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.7378, allocations: 5.375 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.7379, allocations: 19.98 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.534e-05/0.7379, allocations: 33.42 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.7379, allocations: 0 / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7379, allocations: 0 / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.738, allocations: 1.375 kB / 0.9513 GB, free: 7.758 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.0005602/0.7385, allocations: 386.2 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.7386, allocations: 9.625 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.7386, allocations: 7.625 kB / 0.9517 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.129e-05/0.7387, allocations: 175 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.7387, allocations: 5.75 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.7387, allocations: 3.125 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.7389, allocations: 62.73 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.7389, allocations: 192 / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.739, allocations: 5.312 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.739, allocations: 0 / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.7391, allocations: 48.7 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.7396, allocations: 296.2 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.7398, allocations: 52.39 kB / 0.9524 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.74, allocations: 26.11 kB / 0.9524 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.74, allocations: 9.203 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.74, allocations: 34.5 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.74, allocations: 0 / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003452/0.7404, allocations: 94.64 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.7404, allocations: 51.41 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.7405, allocations: 114.8 kB / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.7405, allocations: 25.7 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.7405, allocations: 93.72 kB / 0.9528 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.7405, allocations: 13.38 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.7406, allocations: 14 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.7406, allocations: 320.1 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.7407, allocations: 23.5 kB / 0.9531 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.7408, allocations: 27.17 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.741, allocations: 42.81 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.741, allocations: 0 / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002027/0.7412, allocations: 82.56 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.7412, allocations: 9.062 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7412, allocations: 0 / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.7412, allocations: 0 / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.7413, allocations: 14.66 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.7413, allocations: 1.156 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.7414, allocations: 13.17 kB / 0.9533 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.7414, allocations: 1.281 kB / 0.9533 GB, free: 5.82 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.324e-05/0.7415, allocations: 120 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.7415, allocations: 15.12 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.7417, allocations: 81.97 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7418, allocations: 0 / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7418, allocations: 4.953 kB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.7418, allocations: 0 / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.7419, allocations: 169.9 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7419, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.742, allocations: 9.734 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.742, allocations: 1.156 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.742, allocations: 0 / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.742, allocations: 5.25 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.742, allocations: 0 / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.7422, allocations: 169.8 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.7422, allocations: 83.2 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.7423, allocations: 3.984 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.7424, allocations: 26.11 kB / 0.954 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.7425, allocations: 7.422 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.7425, allocations: 0 / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.368e-05/0.7425, allocations: 91.05 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7425, allocations: 0 / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000219/0.7427, allocations: 6.281 kB / 0.9541 GB, free: 5.039 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.566e-05/0.7428, allocations: 98.22 kB / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.7431, allocations: 54.64 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7431, allocations: 0 / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.7432, allocations: 22.42 kB / 0.9542 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.7435, allocations: 15.59 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.7438, allocations: 167.9 kB / 0.9544 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.7439, allocations: 0.6803 MB / 0.9551 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.7439, allocations: 9.75 kB / 0.9551 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7439, allocations: 0 / 0.9551 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of Templates: time 0.002046/0.746, allocations: 0.7659 MB / 0.9558 GB, free: 3.637 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