Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001196/0.001196, allocations: 190.9 kB / 16.25 MB, free: 6.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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.6/2.6, allocations: 390.3 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.84 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8883/0.8897, allocations: 140.4 MB / 0.9493 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002052/0.8918, allocations: 0.7971 MB / 0.95 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.8932, allocations: 1.255 MB / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.8933, allocations: 0 / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.8934, allocations: 3.938 kB / 0.9513 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.8935, allocations: 14.52 kB / 0.9513 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.8941, allocations: 225.1 kB / 0.9515 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.8944, allocations: 264.4 kB / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.8945, allocations: 18.84 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.8947, allocations: 106.1 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.8948, allocations: 85.75 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.8949, allocations: 26.88 kB / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.895, allocations: 37.7 kB / 0.952 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.895, allocations: 31.19 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.8951, allocations: 94.3 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.8954, allocations: 215.8 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8954, allocations: 1.438 kB / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8954, allocations: 0 / 0.9523 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.8954, allocations: 0 / 0.9523 GB, free: 6.855 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006866/0.8961, allocations: 0.495 MB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.8961, allocations: 13.66 kB / 0.9528 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.8962, allocations: 41.64 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.8963, allocations: 17.59 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.8968, allocations: 250.2 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.8969, allocations: 16.67 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.8969, allocations: 16.34 kB / 0.9532 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.8972, allocations: 138.9 kB / 0.9533 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8972, allocations: 0 / 0.9533 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.8972, allocations: 13.23 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.8972, allocations: 2.688 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.8973, allocations: 61.77 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.898, allocations: 0.5127 MB / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.8983, allocations: 163.5 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.391e-05/0.8984, allocations: 65.36 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.8984, allocations: 5.406 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.8988, allocations: 207.7 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.8988, allocations: 4 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0005772/0.8994, allocations: 305.8 kB / 0.9546 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.8994, allocations: 94.67 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.8995, allocations: 132.6 kB / 0.9548 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.8996, allocations: 40.5 kB / 0.9548 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.8996, allocations: 98 kB / 0.9549 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.8997, allocations: 51.12 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.8998, allocations: 75.42 kB / 0.955 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.8999, allocations: 326.2 kB / 0.9554 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.9001, allocations: 86.45 kB / 0.9554 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.9003, allocations: 146 kB / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.9005, allocations: 244.1 kB / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9006, allocations: 0 / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000507/0.9011, allocations: 370.5 kB / 0.9562 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.9011, allocations: 65.33 kB / 0.9562 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.9011, allocations: 2.078 kB / 0.9562 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.9012, allocations: 4.031 kB / 0.9562 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.9013, allocations: 27.08 kB / 0.9563 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.9013, allocations: 11.23 kB / 0.9563 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.9016, allocations: 73.25 kB / 0.9563 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.9017, allocations: 16.86 kB / 0.9564 GB, free: 3.445 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001152/0.9018, allocations: 139.4 kB / 0.9565 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.9018, allocations: 15.73 kB / 0.9565 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.9019, allocations: 14.09 kB / 0.9565 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9019, allocations: 7.125 kB / 0.9565 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.9019, allocations: 4 kB / 0.9565 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.9019, allocations: 1.469 kB / 0.9565 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.9024, allocations: 0.6176 MB / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.9024, allocations: 1.375 kB / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.9025, allocations: 5.5 kB / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.9025, allocations: 5.312 kB / 0.9571 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.9025, allocations: 12.11 kB / 0.9572 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.9025, allocations: 5.375 kB / 0.9572 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.9025, allocations: 0 / 0.9572 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.9029, allocations: 417.1 kB / 0.9576 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.9029, allocations: 85.14 kB / 0.9576 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.903, allocations: 16.05 kB / 0.9577 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.9031, allocations: 12.11 kB / 0.9577 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.9032, allocations: 26.62 kB / 0.9577 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.9032, allocations: 17.17 kB / 0.9577 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.9033, allocations: 94.14 kB / 0.9578 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9033, allocations: 0 / 0.9578 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003544/0.9037, allocations: 59.16 kB / 0.9579 GB, free: 2.215 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006416/0.9043, allocations: 0.9661 MB / 0.9588 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.9048, allocations: 366.2 kB / 0.9591 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9048, allocations: 0 / 0.9591 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.905, allocations: 120.6 kB / 0.9593 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.9054, allocations: 26.03 kB / 0.9593 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.908, allocations: 2.294 MB / 0.9615 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.9083, allocations: 0.7047 MB / 0.9622 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.926e-05/0.9084, allocations: 19.83 kB / 0.9622 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.9084, allocations: 37.36 kB / 0.9623 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.9085, allocations: 0 / 0.9623 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.9242, allocations: 3.912 MB / 0.9661 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.9245, allocations: 200.4 kB / 0.9663 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.832, allocations: 0 / 0.9663 GB, free: 12.18 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches