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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001358/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001403/0.001403, allocations: 193.1 kB / 16.13 MB, free: 6.652 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8074, allocations: 140.4 MB / 0.9489 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001882/0.8094, allocations: 0.7663 MB / 0.9497 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.8102, allocations: 0.8273 MB / 0.9505 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.8103, allocations: 5.344 kB / 0.9505 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.8103, allocations: 0 / 0.9505 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.273e-05/0.8104, allocations: 5.688 kB / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.8105, allocations: 14.39 kB / 0.9505 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.8106, allocations: 40.94 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.8107, allocations: 13.3 kB / 0.9506 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/0.8108, allocations: 18.02 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.8108, allocations: 17.95 kB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.8108, allocations: 6.406 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.8109, allocations: 2.312 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.8109, allocations: 13.48 kB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.8109, allocations: 11.75 kB / 0.9506 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.089e-05/0.811, allocations: 54.66 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.811, allocations: 0 / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.811, allocations: 1.344 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.811, allocations: 0 / 0.9507 GB, free: 7.746 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.0005334/0.8115, allocations: 386.9 kB / 0.9511 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.8116, allocations: 9.625 kB / 0.9511 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.8116, allocations: 2.312 kB / 0.9511 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/0.8117, allocations: 171 kB / 0.9512 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.8117, allocations: 1.75 kB / 0.9512 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.8117, allocations: 7.109 kB / 0.9512 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.8119, allocations: 68.09 kB / 0.9513 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8119, allocations: 192 / 0.9513 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.812, allocations: 7.938 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.812, allocations: 1.375 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.8121, allocations: 44.7 kB / 0.9514 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.8126, allocations: 304.2 kB / 0.9517 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.8128, allocations: 52.55 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.8129, allocations: 29.39 kB / 0.9517 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.813, allocations: 0 / 0.9517 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.813, allocations: 31.94 kB / 0.9518 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.813, allocations: 3.938 kB / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003469/0.8133, allocations: 93.28 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.8134, allocations: 52.78 kB / 0.9519 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.8134, allocations: 118.2 kB / 0.952 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.8135, allocations: 25.7 kB / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.8135, allocations: 90.83 kB / 0.9521 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.8135, allocations: 9.266 kB / 0.9521 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.8135, allocations: 16.47 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.8136, allocations: 320.2 kB / 0.9525 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.8137, allocations: 24.34 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.8138, allocations: 22.92 kB / 0.9525 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.8139, allocations: 50.34 kB / 0.9525 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8139, allocations: 384 / 0.9525 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001965/0.8141, allocations: 79.38 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.8142, allocations: 4.938 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8142, allocations: 0 / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8142, allocations: 3.938 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.8142, allocations: 14.67 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.8143, allocations: 0 / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.8144, allocations: 17.77 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.8144, allocations: 1.438 kB / 0.9527 GB, free: 5.805 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 6.733e-05/0.8145, allocations: 116.8 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.8145, allocations: 5.531 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.8147, allocations: 86.41 kB / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8147, allocations: 48 / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8147, allocations: 5.641 kB / 0.9529 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.8148, allocations: 0 / 0.9529 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.8149, allocations: 173.5 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8149, allocations: 0 / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.815, allocations: 10.52 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.815, allocations: 0 / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.815, allocations: 4 kB / 0.953 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.815, allocations: 1.125 kB / 0.9531 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.815, allocations: 0 / 0.9531 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.8152, allocations: 170.4 kB / 0.9532 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.8152, allocations: 82.42 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.8152, allocations: 1.156 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.8154, allocations: 25.31 kB / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.8154, allocations: 10.36 kB / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.8154, allocations: 1.031 kB / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.8155, allocations: 87.97 kB / 0.9534 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8155, allocations: 0 / 0.9534 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002166/0.8157, allocations: 6.844 kB / 0.9534 GB, free: 5.031 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 0.0001023/0.8158, allocations: 100.4 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.816, allocations: 55.58 kB / 0.9536 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.816, allocations: 0 / 0.9536 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.8161, allocations: 22.36 kB / 0.9536 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.8164, allocations: 17.02 kB / 0.9536 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.8167, allocations: 134.6 kB / 0.9537 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.8168, allocations: 0.6795 MB / 0.9544 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.8169, allocations: 6.375 kB / 0.9544 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.8169, allocations: 9.438 kB / 0.9544 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.8169, allocations: 0 / 0.9544 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.002559/0.8195, allocations: 0.6664 MB / 0.9551 GB, free: 3.703 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/jenkins/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