Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001309/0.001309, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001555/0.001555, allocations: 217.8 kB / 22.25 MB, free: 5.082 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.225/3.225, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.001949/0.001949, allocations: 66.97 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2989, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002721/0.3016, allocations: 1.51 MB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008598/0.3024, allocations: 482.7 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.3025, allocations: 0 / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.3025, allocations: 7.922 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.3026, allocations: 7.938 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.3028, allocations: 31.91 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.426e-05/0.3029, allocations: 55.84 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.303, allocations: 8 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.303, allocations: 19.92 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.3031, allocations: 31.83 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.3031, allocations: 4 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.3031, allocations: 4 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.3032, allocations: 8 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.3032, allocations: 23.86 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3033, allocations: 40.11 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3033, allocations: 0 / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3033, allocations: 0 / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3033, allocations: 4 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004853/0.3038, allocations: 292.4 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3039, allocations: 8.031 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.3039, allocations: 42.73 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.3039, allocations: 4.938 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3041, allocations: 110.5 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3041, allocations: 4.375 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3041, allocations: 8.375 kB / 1.355 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3042, allocations: 65.73 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3042, allocations: 3.984 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3042, allocations: 4 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3042, allocations: 0 / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.3043, allocations: 27.92 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.3048, allocations: 271.8 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3049, allocations: 58.59 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.3049, allocations: 20.94 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.3049, allocations: 0 / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.3051, allocations: 79.28 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.3051, allocations: 0 / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002216/0.3053, allocations: 97.61 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3054, allocations: 59.41 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.3055, allocations: 105.8 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3055, allocations: 25.7 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.3055, allocations: 96.08 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.3056, allocations: 27.72 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.3056, allocations: 37.7 kB / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3058, allocations: 314.8 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.079e-05/0.3058, allocations: 19.98 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.3059, allocations: 51.36 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.882e-05/0.306, allocations: 63.38 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.306, allocations: 0 / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001424/0.3061, allocations: 93.61 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3061, allocations: 4 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3061, allocations: 4 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3061, allocations: 4.031 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.3062, allocations: 11.94 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3062, allocations: 3.984 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.3063, allocations: 15.89 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3063, allocations: 7.938 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 9.819e-05/0.3064, allocations: 126 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.3064, allocations: 0 / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.3064, allocations: 16.03 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3064, allocations: 8 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3064, allocations: 0 / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3064, allocations: 0 / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.3069, allocations: 333.7 kB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3069, allocations: 64 / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.3069, allocations: 11.94 kB / 1.357 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3069, allocations: 0 / 1.357 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3069, allocations: 4 kB / 1.357 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3069, allocations: 3.938 kB / 1.357 GB, free: 3.457 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3069, allocations: 4 kB / 1.357 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.3071, allocations: 183.4 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.3071, allocations: 4 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3071, allocations: 7.984 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.3072, allocations: 7.938 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3072, allocations: 7.984 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3072, allocations: 0 / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.111e-05/0.3073, allocations: 91.27 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3073, allocations: 0 / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000228/0.3075, allocations: 16 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004635/0.308, allocations: 0.7085 MB / 1.358 GB, free: 2.391 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.3081, allocations: 51.92 kB / 1.358 GB, free: 2.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3081, allocations: 4.062 kB / 1.358 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.3082, allocations: 28.2 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.3084, allocations: 18.23 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3097, allocations: 1.362 MB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.31, allocations: 0.6924 MB / 1.361 GB, free: 120 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.3101, allocations: 4 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3101, allocations: 19.44 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.3101, allocations: 0 / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6842/0.9943, allocations: 1.918 MB / 1.362 GB, free: 14.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.63, allocations: 7.234 kB / 1.362 GB, free: 14.3 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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: 19.241014401894063]