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.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: "" <> 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.001269/0.001269, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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: 192.1 kB / 16.25 MB, free: 6.621 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.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.598/2.598, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7567, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002187/0.7589, allocations: 0.8082 MB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.7605, allocations: 1.265 MB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.7606, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.055e-05/0.7606, allocations: 7.922 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.143e-05/0.7607, allocations: 7.922 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006475/0.7614, allocations: 224.4 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.7617, allocations: 263.6 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.7618, allocations: 28.19 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.762, allocations: 99.8 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.7621, allocations: 79.89 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.7622, allocations: 20 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.7622, allocations: 39.98 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.7623, allocations: 31.91 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.7624, allocations: 95.67 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.7627, allocations: 225.6 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7627, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7627, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.7627, allocations: 0 / 1.02 GB, free: 15.53 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.0007664/0.7635, allocations: 0.4945 MB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.7635, allocations: 12.03 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.7636, allocations: 34.75 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.7637, allocations: 20.83 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.7643, allocations: 256.3 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.7643, allocations: 16.36 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.7643, allocations: 20.38 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.7646, allocations: 139.4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7646, allocations: 3.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.7646, allocations: 8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.7647, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.7648, allocations: 63.94 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.7657, allocations: 0.5162 MB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.766, allocations: 161.2 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.258e-05/0.7661, allocations: 61.69 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.7661, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.7665, allocations: 220.1 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.7665, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005495/0.767, allocations: 305.4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.7671, allocations: 85.05 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.7672, allocations: 138 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.7673, allocations: 33.7 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.7674, allocations: 100.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.7674, allocations: 51.34 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.7675, allocations: 73.67 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7677, allocations: 326.8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.7679, allocations: 80.23 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.7682, allocations: 160.2 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.7685, allocations: 248.4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7685, allocations: 384 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005398/0.7691, allocations: 360.5 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.7691, allocations: 69.02 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7691, allocations: 4.078 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.7692, allocations: 4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.7693, allocations: 23.88 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.7693, allocations: 19.91 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.7696, allocations: 63.78 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.7697, allocations: 19.98 kB / 1.024 GB, free: 11.03 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.0001344/0.7698, allocations: 140.6 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.7699, allocations: 15.89 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.7699, allocations: 16.5 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.7699, allocations: 3.938 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7699, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7699, allocations: 4 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.7705, allocations: 0.6197 MB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7705, allocations: 4 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.7706, allocations: 7.938 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.7706, allocations: 7.938 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.7706, allocations: 7.984 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.7706, allocations: 4 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.7707, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.7711, allocations: 422.5 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.7712, allocations: 88.92 kB / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.7712, allocations: 15.92 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.7713, allocations: 7.984 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.7714, allocations: 23.97 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.7714, allocations: 15.98 kB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.7715, allocations: 98.64 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7715, allocations: 4 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003572/0.7719, allocations: 52 kB / 1.026 GB, free: 9.395 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.000843/0.7727, allocations: 0.9635 MB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.7732, allocations: 366.5 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7732, allocations: 0 / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.7734, allocations: 115.9 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.7738, allocations: 26.22 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.7765, allocations: 2.297 MB / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.7768, allocations: 0.7047 MB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.777, allocations: 21.53 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.7771, allocations: 39.42 kB / 1.03 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of SimCode: time 4.2e-07/0.7771, allocations: 4 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.8175, allocations: 3.914 MB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.8176, allocations: 197.4 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.576, allocations: 4 kB / 1.034 GB, free: 0.6172 MB / 0.7794 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