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.001561/0.001561, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001615/0.001615, allocations: 186.1 kB / 17.35 MB, free: 5.633 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 / 241 MB, free: 15.18 MB / 206.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.261/2.261, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 67.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9816/0.9833, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002143/0.9855, allocations: 0.7096 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.9865, allocations: 0.8422 MB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.9866, allocations: 1.125 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.9866, allocations: 4.453 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.9867, allocations: 6.016 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.9869, allocations: 12.67 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.987, allocations: 42.84 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.9872, allocations: 20.2 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.9873, allocations: 17.48 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.9874, allocations: 22.12 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.9874, allocations: 4 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.9874, allocations: 4.281 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.9874, allocations: 11.58 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.9875, allocations: 14 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.9877, allocations: 53.72 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9877, allocations: 0 / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9877, allocations: 4 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.9877, allocations: 0.7812 kB / 1.09 GB, free: 4.312 MB / 0.8575 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.0007/0.9884, allocations: 377.3 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.9885, allocations: 12.22 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.9885, allocations: 12.78 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.31e-05/0.9886, allocations: 165 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.9886, allocations: 2.562 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.9887, allocations: 6.578 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.9889, allocations: 61.86 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9889, allocations: 192 / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.9889, allocations: 4.453 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.9889, allocations: 1.062 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.9892, allocations: 56.06 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.9897, allocations: 297.3 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.99, allocations: 54.69 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.9901, allocations: 27.19 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.9902, allocations: 0 / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.9902, allocations: 36.19 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.9902, allocations: 0 / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004208/0.9906, allocations: 95.11 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.9907, allocations: 52.02 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.9907, allocations: 114.3 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.9908, allocations: 28.12 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.9908, allocations: 93.94 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.9908, allocations: 6.359 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.9909, allocations: 17.83 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.9909, allocations: 318 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.9911, allocations: 21.14 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.653e-05/0.9912, allocations: 25.8 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.9913, allocations: 47.86 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9913, allocations: 1.188 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002241/0.9916, allocations: 81.97 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.9916, allocations: 5.75 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9916, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9916, allocations: 0.5625 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.9917, allocations: 10.27 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.9917, allocations: 0.7969 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.9919, allocations: 22.28 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.9919, allocations: 5.469 kB / 1.092 GB, free: 2.527 MB / 0.8575 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.861e-05/0.992, allocations: 121.1 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.992, allocations: 1.969 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.9923, allocations: 78.22 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.9923, allocations: 0.5469 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9923, allocations: 4.609 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.9923, allocations: 87.78 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.9923, allocations: 0.875 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.9925, allocations: 19.16 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.9926, allocations: 9.906 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003485/0.9929, allocations: 167.6 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002976/0.9932, allocations: 244.4 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001134/0.9933, allocations: 26.64 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.9934, allocations: 89.08 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of Backend: time 2.01e-07/0.9934, allocations: 1.031 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004911/0.9939, allocations: 110 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000463/0.9944, allocations: 0.5683 MB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.00439/0.9988, allocations: 0.9105 MB / 1.095 GB, free: 1.07 MB / 0.8575 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