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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 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.001275/0.001275, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.638/2.638, allocations: 437 MB / 0.7104 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 59.91 kB / 0.8694 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.708/0.7103, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002107/0.7124, allocations: 0.7395 MB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.7142, allocations: 1.268 MB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.7143, allocations: 4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.7143, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.7144, allocations: 15.8 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.7152, allocations: 242.5 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.7155, allocations: 263.7 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.7156, allocations: 16.22 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.7158, allocations: 103.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.7159, allocations: 83.75 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.716, allocations: 24 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.7161, allocations: 35.98 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.7162, allocations: 43.89 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.7163, allocations: 87.73 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.7166, allocations: 221.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7166, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7166, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7166, allocations: 3.938 kB / 1.02 GB, free: 15.3 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.000727/0.7173, allocations: 496.4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7174, allocations: 12.03 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.7174, allocations: 42.73 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.7175, allocations: 16.84 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/0.7181, allocations: 268.2 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.7181, allocations: 8.375 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.7182, allocations: 24.36 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.7184, allocations: 137.4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.7185, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.7185, allocations: 11.92 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7185, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.7186, allocations: 59.95 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.7195, allocations: 0.524 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.7198, allocations: 157.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.7199, allocations: 61.69 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.7199, allocations: 3.938 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003485/0.7203, allocations: 201.6 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.7203, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005927/0.7209, allocations: 317.4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.721, allocations: 93.17 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.7211, allocations: 137.8 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.7212, allocations: 37.7 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.7212, allocations: 92.7 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.7213, allocations: 51.34 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.7215, allocations: 73.67 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7216, allocations: 326.8 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.7218, allocations: 88.22 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.722, allocations: 152.2 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.7224, allocations: 251.2 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.7224, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007055/0.7231, allocations: 360.6 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/0.7232, allocations: 71.39 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.7232, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/0.7233, allocations: 4 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.7234, allocations: 23.86 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.7234, allocations: 4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.7239, allocations: 67.94 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.7239, allocations: 23.98 kB / 1.025 GB, free: 10.8 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.0001845/0.7241, allocations: 140 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.7242, allocations: 15.91 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.635e-05/0.7242, allocations: 16.5 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.7242, allocations: 3.938 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.7242, allocations: 4 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.7243, allocations: 7.984 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.725, allocations: 0.6108 MB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.725, allocations: 0 / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.7251, allocations: 11.98 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.7251, allocations: 7.938 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.7251, allocations: 0 / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.7251, allocations: 7.984 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7251, allocations: 3.938 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.7256, allocations: 418.2 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.7256, allocations: 92.91 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.7257, allocations: 11.94 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.7258, allocations: 8.078 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.438e-05/0.7259, allocations: 27.91 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.726, allocations: 15.98 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.258e-05/0.726, allocations: 101 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7261, allocations: 0 / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003926/0.7264, allocations: 55.98 kB / 1.026 GB, free: 9.168 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.0008905/0.7273, allocations: 0.977 MB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005602/0.7279, allocations: 350.5 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7279, allocations: 0 / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.7281, allocations: 120.8 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.7285, allocations: 29.38 kB / 1.027 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.7318, allocations: 2.274 MB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.7322, allocations: 0.7047 MB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.892e-05/0.7324, allocations: 21.53 kB / 1.03 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.7325, allocations: 39.42 kB / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of SimCode: time 9.02e-07/0.7325, allocations: 0 / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.7549, allocations: 4.057 MB / 1.034 GB, free: 484 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.701, allocations: 12.75 kB / 1.034 GB, free: 476 kB / 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