Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001901/0.001901, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002831/0.002831, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.785 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.77/2.77, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_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.002055/0.002055, allocations: 67.28 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2614, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002251/0.2636, allocations: 0.8888 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2648, allocations: 0.919 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.2649, allocations: 0 / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.589e-05/0.2649, allocations: 15.81 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.265, allocations: 19.8 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.2653, allocations: 51.94 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.2654, allocations: 119.6 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.2655, allocations: 41.16 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.2657, allocations: 63.84 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.2658, allocations: 43.77 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.2658, allocations: 15.94 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.056e-05/0.2659, allocations: 20 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.2659, allocations: 35.84 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.266, allocations: 47.78 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.2662, allocations: 153.1 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2662, allocations: 3.938 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2662, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2662, allocations: 0 / 1.285 GB, free: 10.07 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005748/0.2668, allocations: 357.7 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2668, allocations: 8.031 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.2668, allocations: 46.73 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.2671, allocations: 36.81 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.2673, allocations: 151 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2674, allocations: 8.375 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.2674, allocations: 19.92 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.2676, allocations: 103.7 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2676, allocations: 0 / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2676, allocations: 4 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2676, allocations: 4 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.2678, allocations: 75.84 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.2684, allocations: 347.6 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.2687, allocations: 78.61 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-05/0.2688, allocations: 32.84 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2688, allocations: 4 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.2688, allocations: 50.42 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2688, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003672/0.2692, allocations: 125.9 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2692, allocations: 51.41 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.2693, allocations: 161 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.2694, allocations: 29.7 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.2694, allocations: 112.2 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.2695, allocations: 19.86 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.2695, allocations: 33.7 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2697, allocations: 318.8 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/0.2698, allocations: 31.98 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.2699, allocations: 109.9 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.2701, allocations: 56.95 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2701, allocations: 0 / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002349/0.2703, allocations: 113.5 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2703, allocations: 8.031 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2703, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2703, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.2704, allocations: 11.98 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2704, allocations: 4 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.2705, allocations: 15.88 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2705, allocations: 4 kB / 1.287 GB, free: 7.371 MB / 0.9825 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.0001001/0.2706, allocations: 121.8 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.2707, allocations: 15.89 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.2707, allocations: 20.7 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2707, allocations: 0 / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2707, allocations: 4 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2707, allocations: 0 / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.2709, allocations: 164.7 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2709, allocations: 4 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.321e-05/0.271, allocations: 23.92 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.271, allocations: 0 / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.271, allocations: 3.938 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.271, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.271, allocations: 4 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.2713, allocations: 203.6 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.2713, allocations: 11.89 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2713, allocations: 8 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2714, allocations: 7.984 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.2715, allocations: 11.97 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.2715, allocations: 8 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.2716, allocations: 118.8 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2716, allocations: 4 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002387/0.2718, allocations: 23.89 kB / 1.288 GB, free: 6.562 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: 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.0005624/0.2724, allocations: 0.7359 MB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.2726, allocations: 71.89 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2726, allocations: 0 / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.699e-05/0.2727, allocations: 39.91 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.273, allocations: 12 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.2749, allocations: 1.643 MB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.521e-05/0.275, allocations: 93.55 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.716e-05/0.2751, allocations: 8.672 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.2752, allocations: 39.41 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.2752, allocations: 0 / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.3037, allocations: 3.224 MB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.24, allocations: 6.625 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.6437320378609]