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.001538/0.001538, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.361/2.361, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7191, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001847/0.721, allocations: 0.7319 MB / 0.9505 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.7222, allocations: 1.26 MB / 0.9517 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.7223, allocations: 1.344 kB / 0.9517 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.7223, allocations: 7.922 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.7224, allocations: 18.92 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.723, allocations: 243.6 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.7233, allocations: 268.4 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.7234, allocations: 10.89 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.7235, allocations: 101.4 kB / 0.9523 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.7236, allocations: 86.97 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.667e-05/0.7237, allocations: 23.12 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.159e-05/0.7238, allocations: 41.58 kB / 0.9524 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.7238, allocations: 30.56 kB / 0.9525 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.7239, allocations: 92.77 kB / 0.9526 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.7241, allocations: 215.9 kB / 0.9528 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7241, allocations: 0 / 0.9528 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7241, allocations: 0 / 0.9528 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7241, allocations: 0 / 0.9528 GB, free: 6.816 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.0006259/0.7248, allocations: 0.4957 MB / 0.9533 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.7248, allocations: 9.031 kB / 0.9533 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.7249, allocations: 41.55 kB / 0.9533 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.7249, allocations: 17.97 kB / 0.9533 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.7255, allocations: 257.2 kB / 0.9536 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.7255, allocations: 8.656 kB / 0.9536 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.7256, allocations: 23.77 kB / 0.9536 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.7258, allocations: 141.7 kB / 0.9537 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7258, allocations: 1.656 kB / 0.9537 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.7258, allocations: 5.297 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7258, allocations: 1.656 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.7259, allocations: 62.39 kB / 0.9538 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.7266, allocations: 0.5213 MB / 0.9543 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.7268, allocations: 158.9 kB / 0.9545 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.7269, allocations: 61.09 kB / 0.9545 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.7269, allocations: 6.531 kB / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.7272, allocations: 209.4 kB / 0.9547 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.7272, allocations: 1.25 kB / 0.9547 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0004783/0.7277, allocations: 312.6 kB / 0.955 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.7277, allocations: 93.97 kB / 0.9551 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.7278, allocations: 128.2 kB / 0.9552 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.7279, allocations: 40.73 kB / 0.9553 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.7279, allocations: 92.89 kB / 0.9554 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.728, allocations: 55.47 kB / 0.9554 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.7281, allocations: 71.14 kB / 0.9555 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.7281, allocations: 325.6 kB / 0.9558 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.7283, allocations: 90.73 kB / 0.9559 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.7285, allocations: 151.1 kB / 0.956 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.7287, allocations: 252.4 kB / 0.9563 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7287, allocations: 0 / 0.9563 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004707/0.7292, allocations: 359 kB / 0.9566 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.7292, allocations: 70.2 kB / 0.9567 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7292, allocations: 1.812 kB / 0.9567 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.7292, allocations: 3.531 kB / 0.9567 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.7293, allocations: 28.36 kB / 0.9567 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7293, allocations: 1.781 kB / 0.9567 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.7297, allocations: 69 kB / 0.9568 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.7297, allocations: 21.58 kB / 0.9568 GB, free: 3.41 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 9.544e-05/0.7298, allocations: 147.1 kB / 0.9569 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.7299, allocations: 12.16 kB / 0.9569 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.7299, allocations: 13.88 kB / 0.957 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7299, allocations: 10.62 kB / 0.957 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.7299, allocations: 1.375 kB / 0.957 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.7299, allocations: 7.984 kB / 0.957 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.7304, allocations: 0.6142 MB / 0.9576 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7304, allocations: 1.156 kB / 0.9576 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.7304, allocations: 9.766 kB / 0.9576 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.7304, allocations: 5.688 kB / 0.9576 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.7305, allocations: 3.656 kB / 0.9576 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7305, allocations: 0.9375 kB / 0.9576 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7305, allocations: 5 kB / 0.9576 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.7308, allocations: 420.1 kB / 0.958 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.7309, allocations: 84.3 kB / 0.9581 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.7309, allocations: 16.39 kB / 0.9581 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.731, allocations: 9.578 kB / 0.9581 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.7311, allocations: 22.22 kB / 0.9581 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.7311, allocations: 24.67 kB / 0.9582 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.7312, allocations: 93.08 kB / 0.9582 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7312, allocations: 0 / 0.9582 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00035/0.7315, allocations: 62.52 kB / 0.9583 GB, free: 2.164 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.0005354/0.7321, allocations: 0.9656 MB / 0.9592 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.7325, allocations: 354.5 kB / 0.9596 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7325, allocations: 4 kB / 0.9596 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.7327, allocations: 112.2 kB / 0.9597 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.7331, allocations: 32.05 kB / 0.9597 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.7356, allocations: 2.275 MB / 0.9619 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.736, allocations: 0.7047 MB / 0.9626 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.7361, allocations: 20.08 kB / 0.9627 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.7362, allocations: 36.77 kB / 0.9627 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.7362, allocations: 0 / 0.9627 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.7619, allocations: 4.063 MB / 0.9667 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.966, allocations: 2.812 kB / 0.9667 GB, free: 12.25 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