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.001155/0.001155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001327/0.001327, allocations: 190.9 kB / 16.25 MB, free: 6.629 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.479/2.479, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8442/0.8461, allocations: 140.3 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001828/0.8479, allocations: 0.7737 MB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007373/0.8487, allocations: 0.8273 MB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.8487, allocations: 1.375 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/0.8488, allocations: 3.938 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.637e-05/0.8489, allocations: 1.281 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.849, allocations: 22.48 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.825e-05/0.8491, allocations: 37.14 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.8493, allocations: 22.34 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.8493, allocations: 22.05 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.8494, allocations: 17.14 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.8494, allocations: 3.625 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.8494, allocations: 4.469 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.8495, allocations: 12.95 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.8495, allocations: 15.69 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.166e-05/0.8496, allocations: 51.5 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8496, allocations: 1.344 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8496, allocations: 0 / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.8496, allocations: 4 kB / 0.9509 GB, free: 7.672 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.0005664/0.8502, allocations: 382.7 kB / 0.9512 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.8502, allocations: 9.281 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.8503, allocations: 7.656 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.169e-05/0.8504, allocations: 166.9 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.8504, allocations: 2.438 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.8504, allocations: 6.312 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.8506, allocations: 67.72 kB / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.8506, allocations: 192 / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.8507, allocations: 5 kB / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.8507, allocations: 0 / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.8508, allocations: 48.55 kB / 0.9515 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.8513, allocations: 294.8 kB / 0.9518 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.8516, allocations: 63.22 kB / 0.9519 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.8517, allocations: 24.59 kB / 0.9519 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.8517, allocations: 2 kB / 0.9519 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.8517, allocations: 30.56 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.8517, allocations: 0 / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003399/0.8521, allocations: 101.1 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.8521, allocations: 52.19 kB / 0.9521 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.8522, allocations: 114.1 kB / 0.9522 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.8522, allocations: 27.11 kB / 0.9522 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.8522, allocations: 89.48 kB / 0.9523 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.8522, allocations: 9.375 kB / 0.9523 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.8523, allocations: 21.86 kB / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.8523, allocations: 320.2 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.8524, allocations: 23.11 kB / 0.9527 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.8525, allocations: 28.94 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.8526, allocations: 37.58 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8527, allocations: 0 / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001877/0.8528, allocations: 89.69 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8529, allocations: 5.906 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8529, allocations: 3.984 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8529, allocations: 0 / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.853, allocations: 6.812 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.853, allocations: 0 / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.8531, allocations: 21.97 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.8531, allocations: 1.75 kB / 0.9528 GB, free: 5.734 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.513e-05/0.8532, allocations: 115.2 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.8532, allocations: 6.719 kB / 0.953 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.8534, allocations: 85.61 kB / 0.953 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.8534, allocations: 1.281 kB / 0.953 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8534, allocations: 0 / 0.953 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8534, allocations: 0 / 0.953 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.8536, allocations: 173.8 kB / 0.9532 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8536, allocations: 0 / 0.9532 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.8536, allocations: 10.88 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8536, allocations: 0 / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.8537, allocations: 1.375 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8537, allocations: 3.984 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8537, allocations: 3.984 kB / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.8539, allocations: 175.4 kB / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.8539, allocations: 86.17 kB / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.8539, allocations: 0.9688 kB / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.8541, allocations: 20.78 kB / 0.9535 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.8541, allocations: 3.438 kB / 0.9535 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.8541, allocations: 0 / 0.9535 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.8542, allocations: 95.02 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8542, allocations: 1.031 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002158/0.8544, allocations: 9.5 kB / 0.9536 GB, free: 4.953 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.561e-05/0.8545, allocations: 98.84 kB / 0.9537 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.8547, allocations: 46.48 kB / 0.9537 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8547, allocations: 4 kB / 0.9537 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.8548, allocations: 30.66 kB / 0.9538 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.8551, allocations: 14.66 kB / 0.9538 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.8554, allocations: 137.1 kB / 0.9539 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.8556, allocations: 0.6873 MB / 0.9546 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.8556, allocations: 2 kB / 0.9546 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.8556, allocations: 13.88 kB / 0.9546 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8556, allocations: 0 / 0.9546 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of Templates: time 0.002677/0.8583, allocations: 0.6963 MB / 0.9553 GB, free: 3.609 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