Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001338/0.001338, allocations: 108.4 kB / 16.41 MB, free: 6.445 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.001306/0.001306, allocations: 189.5 kB / 17.35 MB, free: 5.707 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002481/1.104, allocations: 0.7187 MB / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001195/1.105, allocations: 0.8297 MB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/1.105, allocations: 4 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/1.105, allocations: 3.938 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.489e-05/1.105, allocations: 3.938 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/1.105, allocations: 31.89 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000107/1.106, allocations: 43.86 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/1.106, allocations: 19.97 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.352e-05/1.106, allocations: 12 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/1.106, allocations: 27.83 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/1.106, allocations: 4 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/1.106, allocations: 4 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/1.106, allocations: 12 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/1.106, allocations: 19.86 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/1.106, allocations: 35.88 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.106, allocations: 0 / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.325e-06/1.106, allocations: 0 / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.106, allocations: 0 / 1.169 GB, free: 2.094 MB / 0.8887 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.0007412/1.107, allocations: 395.7 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.107, allocations: 12.86 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/1.107, allocations: 0.9375 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.107, allocations: 180.3 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.107, allocations: 4.375 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/1.107, allocations: 4.375 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/1.107, allocations: 58.23 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.107, allocations: 192 / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.108, allocations: 3.938 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.108, allocations: 4 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/1.108, allocations: 43.95 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/1.108, allocations: 304.6 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/1.109, allocations: 50.55 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/1.109, allocations: 36.92 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/1.109, allocations: 0 / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.109, allocations: 34.5 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/1.109, allocations: 0 / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003973/1.109, allocations: 89.64 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/1.109, allocations: 59.41 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/1.109, allocations: 113.8 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/1.109, allocations: 29.7 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/1.109, allocations: 88.12 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/1.109, allocations: 7.953 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/1.11, allocations: 13.72 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.11, allocations: 318.8 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/1.11, allocations: 23.98 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/1.11, allocations: 23.92 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/1.11, allocations: 48.75 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.11, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002216/1.11, allocations: 77.61 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.11, allocations: 8 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.11, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.11, allocations: 384 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/1.11, allocations: 7.984 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.11, allocations: 0 / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/1.111, allocations: 19.97 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/1.111, allocations: 3.938 kB / 1.171 GB, free: 15.84 MB / 0.9044 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 8.946e-05/1.111, allocations: 122 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/1.111, allocations: 4 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/1.111, allocations: 81.53 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.111, allocations: 4 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.111, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/1.111, allocations: 81.06 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/1.111, allocations: 4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.111, allocations: 19.97 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/1.111, allocations: 7.938 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003351/1.112, allocations: 168.9 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002914/1.112, allocations: 242.8 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001006/1.112, allocations: 27.91 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.123e-05/1.112, allocations: 91.27 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of Backend: time 2.21e-07/1.112, allocations: 0 / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004649/1.113, allocations: 108 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006406/1.113, allocations: 0.5887 MB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.003736/1.117, allocations: 0.9088 MB / 1.173 GB, free: 13.3 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches