Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_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.001137/0.001137, allocations: 97.95 kB / 15.36 MB, free: 0.7305 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.001167/0.001167, allocations: 172.6 kB / 16.26 MB, free: 6.664 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 8 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7226, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0008369/0.7235, allocations: 476.7 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.7251, allocations: 1.273 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.7252, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.7252, allocations: 3.938 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.678e-05/0.7253, allocations: 19.91 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.726, allocations: 227.2 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.7262, allocations: 227.6 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.7263, allocations: 16.2 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.7264, allocations: 91.8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.7266, allocations: 75.77 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.7266, allocations: 15.94 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.7267, allocations: 31.92 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.7267, allocations: 27.91 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.7269, allocations: 105.4 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.7271, allocations: 213.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7271, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.055e-06/0.7271, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7271, allocations: 3.938 kB / 1.026 GB, free: 13.03 MB / 0.7794 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.0005954/0.7277, allocations: 468.1 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7278, allocations: 12.03 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.7278, allocations: 38.73 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.7279, allocations: 16.84 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.7285, allocations: 264.3 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.7285, allocations: 12.38 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.7286, allocations: 24.36 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.7288, allocations: 131.2 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.7288, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.7288, allocations: 7.984 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7288, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.729, allocations: 63.89 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007356/0.7297, allocations: 0.5318 MB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.73, allocations: 165.2 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.832e-05/0.7301, allocations: 61.69 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.7301, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.7304, allocations: 210.1 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.582e-06/0.7304, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005064/0.7309, allocations: 309.3 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.731, allocations: 89.03 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.7311, allocations: 138 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.7311, allocations: 37.7 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.7312, allocations: 100.6 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.7312, allocations: 51.5 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.7313, allocations: 37.7 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.7314, allocations: 323.2 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.7316, allocations: 84.23 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.7318, allocations: 152.2 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.7321, allocations: 252 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7321, allocations: 0 / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005286/0.7326, allocations: 368.4 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.7327, allocations: 67.61 kB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7327, allocations: 4 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.7327, allocations: 4 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.907e-05/0.7328, allocations: 23.88 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.7328, allocations: 7.984 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.7332, allocations: 91.69 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.7332, allocations: 15.98 kB / 1.03 GB, free: 8.578 MB / 0.7794 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.0001264/0.7334, allocations: 144.5 kB / 1.03 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.7334, allocations: 19.89 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.7334, allocations: 16.5 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.7335, allocations: 3.938 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7335, allocations: 0 / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.7335, allocations: 4 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.734, allocations: 0.6109 MB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.734, allocations: 4 kB / 1.031 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.7341, allocations: 8 kB / 1.031 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.7341, allocations: 7.938 kB / 1.031 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.7341, allocations: 7.984 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.7341, allocations: 4.094 kB / 1.031 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7341, allocations: 3.938 kB / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.7345, allocations: 421.4 kB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.7346, allocations: 85.02 kB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.7346, allocations: 19.92 kB / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.7348, allocations: 15.98 kB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.7348, allocations: 19.97 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.7349, allocations: 15.98 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.7349, allocations: 95.27 kB / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7349, allocations: 0 / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003442/0.7353, allocations: 55.98 kB / 1.031 GB, free: 6.938 MB / 0.7794 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.0006856/0.736, allocations: 0.9653 MB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.7364, allocations: 346.5 kB / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7364, allocations: 448 / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.7366, allocations: 127.8 kB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.737, allocations: 23.98 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.7394, allocations: 2.295 MB / 1.035 GB, free: 3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.7396, allocations: 0.7047 MB / 1.036 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.22e-05/0.7397, allocations: 17.55 kB / 1.036 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.7398, allocations: 35.42 kB / 1.036 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.7398, allocations: 4.188 kB / 1.036 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.7541, allocations: 3.703 MB / 1.039 GB, free: 14.65 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.7544, allocations: 195 kB / 1.04 GB, free: 14.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.525, allocations: 0 / 1.04 GB, free: 14.4 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches