Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001311/0.001311, allocations: 109.2 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.001618/0.001618, allocations: 218.5 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.996 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.139/3.139, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.001998/0.001998, allocations: 77.33 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002307/0.3238, allocations: 0.9363 MB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.325, allocations: 0.9327 MB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.3251, allocations: 4 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.3251, allocations: 11.86 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.882e-05/0.3252, allocations: 11.81 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.3254, allocations: 55.81 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3256, allocations: 127.7 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3257, allocations: 41.66 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.3259, allocations: 59.77 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.326, allocations: 51.77 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.326, allocations: 16 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.689e-05/0.3261, allocations: 16 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.3261, allocations: 35.84 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.3261, allocations: 55.72 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.3264, allocations: 163.5 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3264, allocations: 0 / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3264, allocations: 0 / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3264, allocations: 4 kB / 1.355 GB, free: 5.973 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005885/0.327, allocations: 363.6 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.327, allocations: 8.031 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.327, allocations: 42.73 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.3273, allocations: 28.83 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3275, allocations: 163.1 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3275, allocations: 8.328 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3276, allocations: 15.94 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.3278, allocations: 101.6 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3278, allocations: 3.938 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3278, allocations: 0 / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3278, allocations: 4 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.328, allocations: 67.95 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.3286, allocations: 371.7 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3288, allocations: 78.61 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.3289, allocations: 44.83 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.3289, allocations: 4 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.329, allocations: 38.5 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.329, allocations: 0 / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0003499/0.3293, allocations: 125.7 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3293, allocations: 51.41 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3295, allocations: 162.8 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3295, allocations: 29.7 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.3296, allocations: 112.2 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.3296, allocations: 19.84 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.3297, allocations: 25.72 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3298, allocations: 322.8 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/0.3299, allocations: 27.98 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.33, allocations: 62.48 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3302, allocations: 60.77 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3302, allocations: 0 / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002249/0.3304, allocations: 117.4 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3304, allocations: 4 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3304, allocations: 0 / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3304, allocations: 4.031 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.3305, allocations: 15.98 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3305, allocations: 0 / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.3306, allocations: 7.938 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3306, allocations: 11.98 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001065/0.3307, allocations: 125.8 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3307, allocations: 11.89 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.3308, allocations: 16.72 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3308, allocations: 4 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3308, allocations: 0 / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3308, allocations: 3.984 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.331, allocations: 188.6 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.331, allocations: 0 / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.004e-05/0.3311, allocations: 23.86 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3311, allocations: 0 / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3311, allocations: 0 / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3311, allocations: 288 / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3311, allocations: 4 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.3314, allocations: 187.5 kB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.3314, allocations: 19.78 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3314, allocations: 11.98 kB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3315, allocations: 4 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3316, allocations: 11.97 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3316, allocations: 11.98 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.29e-05/0.3317, allocations: 123.2 kB / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3317, allocations: 0 / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002488/0.3319, allocations: 19.94 kB / 1.358 GB, free: 2.5 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0006082/0.3325, allocations: 0.7283 MB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3328, allocations: 79.88 kB / 1.359 GB, free: 1.668 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3328, allocations: 0 / 1.359 GB, free: 1.668 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.3329, allocations: 31.98 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3332, allocations: 12.56 kB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3353, allocations: 1.653 MB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.3356, allocations: 0.7039 MB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.692e-05/0.3357, allocations: 12.66 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.3358, allocations: 39.42 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/0.3358, allocations: 0 / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.3698, allocations: 2.794 MB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.46, allocations: 12.06 kB / 1.364 GB, free: 12.45 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 17.95063275913708]