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.005264/0.005265, allocations: 109.1 kB / 15.74 MB, free: 6.016 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.001124/0.001124, allocations: 194.7 kB / 16.68 MB, free: 5.941 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.349/2.349, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 68.47 kB / 0.9504 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3085, allocations: 140.4 MB / 1.087 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002126/0.3106, allocations: 0.7432 MB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3124, allocations: 1.27 MB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.3125, allocations: 0 / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.3126, allocations: 3.938 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.423e-05/0.3127, allocations: 23.78 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007668/0.3135, allocations: 240.8 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.3138, allocations: 263.6 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.314, allocations: 20.16 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3141, allocations: 99.86 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.3143, allocations: 95.73 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.3144, allocations: 24 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.543e-05/0.3145, allocations: 35.98 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.3145, allocations: 35.89 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3147, allocations: 95.73 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.315, allocations: 222.2 kB / 1.091 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.315, allocations: 0 / 1.091 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.226e-06/0.315, allocations: 0 / 1.091 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.315, allocations: 3.938 kB / 1.091 GB, free: 14.94 MB / 0.8575 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.0007644/0.3158, allocations: 0.4915 MB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3158, allocations: 8.031 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.3159, allocations: 38.73 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.3159, allocations: 16.84 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.3165, allocations: 256.3 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.3166, allocations: 12.36 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.3166, allocations: 24.31 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.3169, allocations: 135.5 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3169, allocations: 4 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.3169, allocations: 7.984 kB / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3169, allocations: 3.984 kB / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.3171, allocations: 59.95 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/0.3179, allocations: 0.5161 MB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.3182, allocations: 161.2 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.874e-05/0.3183, allocations: 57.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.3183, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.3187, allocations: 214.7 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.3187, allocations: 3.938 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.000533/0.3193, allocations: 308.5 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.3193, allocations: 89.05 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.3194, allocations: 130 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.3195, allocations: 49.62 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.3196, allocations: 96.61 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.3196, allocations: 47.44 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3197, allocations: 73.67 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3199, allocations: 326.8 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.32, allocations: 84.23 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.3202, allocations: 156.7 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.3205, allocations: 246.4 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3205, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005501/0.3211, allocations: 360.5 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/0.3212, allocations: 67.39 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3212, allocations: 8.219 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3212, allocations: 4 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3213, allocations: 23.86 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3213, allocations: 4 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.3217, allocations: 63.78 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.3218, allocations: 19.98 kB / 1.095 GB, free: 10.46 MB / 0.8575 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.0001301/0.3219, allocations: 144 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.322, allocations: 19.8 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.322, allocations: 12.5 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.322, allocations: 11.88 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.322, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.322, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.3227, allocations: 0.6071 MB / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3227, allocations: 4 kB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.3227, allocations: 15.94 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.3227, allocations: 3.938 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3228, allocations: 11.92 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3228, allocations: 0 / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3228, allocations: 4 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.3232, allocations: 417 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3233, allocations: 96.86 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.3233, allocations: 15.92 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3235, allocations: 7.984 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.3235, allocations: 31.91 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.3236, allocations: 15.98 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.3236, allocations: 95.14 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3236, allocations: 0 / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003519/0.324, allocations: 56 kB / 1.096 GB, free: 8.812 MB / 0.8575 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.0008444/0.3248, allocations: 0.9693 MB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.3254, allocations: 346.5 kB / 1.097 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3254, allocations: 448 / 1.097 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.3256, allocations: 123.9 kB / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.326, allocations: 19.98 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.3289, allocations: 2.281 MB / 1.1 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.3293, allocations: 0.7047 MB / 1.1 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.126e-05/0.3294, allocations: 21.55 kB / 1.1 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.3294, allocations: 35.42 kB / 1.1 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.3295, allocations: 0 / 1.1 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.3509, allocations: 4.219 MB / 1.105 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.173, allocations: 2.156 kB / 1.105 GB, free: 15.98 MB / 0.8731 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) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,booPul1.period,booPul1.shift,booPul1.width,booPul1.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time