Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.001739/0.001739, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002742/0.002742, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.83/2.83, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",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.002436/0.002436, allocations: 65.3 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3807, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00315/0.3838, allocations: 1.481 MB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.3847, allocations: 452.7 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.3847, allocations: 0 / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.3848, allocations: 3.984 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.3848, allocations: 11.81 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.385, allocations: 23.97 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3851, allocations: 51.84 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3852, allocations: 11.98 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.3853, allocations: 19.94 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.3853, allocations: 19.91 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.3854, allocations: 7.984 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.3854, allocations: 4 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.3854, allocations: 15.98 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.3854, allocations: 15.88 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3856, allocations: 43.34 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3856, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3856, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.3856, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 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.0005226/0.3861, allocations: 287 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3861, allocations: 8.031 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.3862, allocations: 42.73 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.3862, allocations: 8.891 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3864, allocations: 110.5 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3864, allocations: 8.375 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3864, allocations: 4.375 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3865, allocations: 69.67 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3865, allocations: 0 / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3865, allocations: 3.938 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3865, allocations: 0 / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.3866, allocations: 31.98 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.3871, allocations: 263.8 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3872, allocations: 54.56 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.3873, allocations: 24.92 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3873, allocations: 4 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3875, allocations: 71.42 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3875, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002425/0.3877, allocations: 101.6 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.3878, allocations: 63.41 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.3878, allocations: 105.8 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3879, allocations: 25.7 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.3879, allocations: 92.03 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.388, allocations: 27.81 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.388, allocations: 25.72 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3881, allocations: 322.8 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/0.3882, allocations: 16 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.3882, allocations: 43.42 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3883, allocations: 67.36 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3883, allocations: 4 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001484/0.3885, allocations: 101.5 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3885, allocations: 8 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3885, allocations: 384 / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3885, allocations: 0 / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.3886, allocations: 8 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3886, allocations: 4 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.3887, allocations: 15.88 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3887, allocations: 11.88 kB / 1.287 GB, free: 8.137 MB / 0.9825 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 0.0001029/0.3888, allocations: 130.2 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.3888, allocations: 4 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.3888, allocations: 8.062 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3888, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.3888, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3888, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.3892, allocations: 329.4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3892, allocations: 288 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.3893, allocations: 7.984 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3893, allocations: 64 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3893, allocations: 8 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3893, allocations: 7.938 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3893, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.3895, allocations: 183.5 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.3895, allocations: 7.953 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3895, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.3896, allocations: 15.92 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3896, allocations: 7.984 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.3896, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.3897, allocations: 83.28 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3897, allocations: 0 / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002458/0.3899, allocations: 16 kB / 1.287 GB, free: 7.27 MB / 0.9825 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.000513/0.3904, allocations: 0.7268 MB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.3906, allocations: 47.91 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3906, allocations: 4 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.765e-05/0.3906, allocations: 20 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3909, allocations: 15.92 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.3923, allocations: 1.387 MB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.3924, allocations: 71.33 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.3924, allocations: 4 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.3925, allocations: 19.44 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3925, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.4208, allocations: 2.337 MB / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.36, allocations: 3.938 kB / 1.292 GB, free: 2.645 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.35096018994227]