Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002388/0.002388, allocations: 220.9 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 0.49 GB / 0.7951 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.86 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.372, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002524/0.3745, allocations: 0.7519 MB / 1.327 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3766, allocations: 1.296 MB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.3767, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.3767, allocations: 7.875 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.3769, allocations: 23.84 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009794/0.3778, allocations: 252.6 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.3783, allocations: 255.5 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3784, allocations: 12.23 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.3786, allocations: 99.86 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.3789, allocations: 95.69 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.3789, allocations: 28 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.3791, allocations: 43.91 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.3791, allocations: 31.97 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.3793, allocations: 91.73 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.3796, allocations: 219.2 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3796, allocations: 4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3796, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.3796, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 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.0009079/0.3806, allocations: 430.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3806, allocations: 8.031 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.333e-05/0.3807, allocations: 46.67 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.3807, allocations: 20.88 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.3814, allocations: 194.4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.3814, allocations: 12.36 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.3815, allocations: 24.36 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.3818, allocations: 142.1 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3818, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3818, allocations: 7.984 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3818, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.382, allocations: 63.89 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009347/0.3829, allocations: 487.8 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.3832, allocations: 133.2 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3833, allocations: 61.62 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3833, allocations: 4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/0.3838, allocations: 206.7 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.3838, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0006861/0.3845, allocations: 313.5 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.3846, allocations: 92.98 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.3847, allocations: 127.5 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.3848, allocations: 41.7 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.3849, allocations: 100.6 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.3849, allocations: 55.62 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.3851, allocations: 73.67 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.3853, allocations: 322.8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.3855, allocations: 88.23 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.3857, allocations: 148.2 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.3861, allocations: 247.9 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3861, allocations: 0 / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007281/0.3868, allocations: 375.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.3869, allocations: 63.39 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3869, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/0.3869, allocations: 4 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3871, allocations: 27.88 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.3871, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.3875, allocations: 72 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.3875, allocations: 16 kB / 1.333 GB, free: 10.48 MB / 1.029 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.0002015/0.3877, allocations: 144.2 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.3878, allocations: 19.89 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.3878, allocations: 16.44 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.3878, allocations: 11.88 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3879, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3879, allocations: 4 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/0.3886, allocations: 0.5827 MB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3886, allocations: 0 / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.3886, allocations: 8 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3887, allocations: 3.938 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.3887, allocations: 11.98 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3887, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3887, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.3892, allocations: 422.5 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.3892, allocations: 15.94 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.3893, allocations: 15.92 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3894, allocations: 11.98 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.3895, allocations: 23.95 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.3895, allocations: 12.09 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.509e-05/0.3896, allocations: 99.2 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3896, allocations: 4 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000408/0.39, allocations: 55.92 kB / 1.334 GB, free: 8.961 MB / 1.029 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.001021/0.391, allocations: 0.9641 MB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006189/0.3917, allocations: 326.5 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3917, allocations: 0 / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.3919, allocations: 83.88 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.3923, allocations: 29.77 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.3956, allocations: 2.294 MB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.396, allocations: 0.7008 MB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.401e-05/0.396, allocations: 21.47 kB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.3961, allocations: 35.44 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/0.3961, allocations: 0 / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.4339, allocations: 4.332 MB / 1.343 GB, free: 116 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 16.05 kB / 1.343 GB, free: 100 kB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.517070075962692]