Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001819/0.001819, allocations: 106 kB / 16.45 MB, free: 6.453 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.00214/0.00214, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.554/1.554, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.059/3.059, allocations: 0.49 GB / 0.7916 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_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.002861/0.002861, allocations: 76.61 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3597, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002286/0.362, allocations: 0.9328 MB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3633, allocations: 0.925 MB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.3634, allocations: 0 / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.756e-05/0.3634, allocations: 15.81 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.3635, allocations: 27.78 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.3638, allocations: 35.95 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3639, allocations: 139.5 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3641, allocations: 33.53 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.3643, allocations: 55.83 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3644, allocations: 59.7 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.3644, allocations: 12 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.709e-05/0.3645, allocations: 16 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.3645, allocations: 31.86 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/0.3646, allocations: 59.7 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3648, allocations: 151.7 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3648, allocations: 0 / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3648, allocations: 0 / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3648, allocations: 0 / 1.323 GB, free: 0.8711 MB / 1.014 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.0006747/0.3655, allocations: 442.8 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3655, allocations: 11.98 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.3656, allocations: 50.67 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.3658, allocations: 24.88 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.3661, allocations: 216.9 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3661, allocations: 4.375 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.3662, allocations: 15.94 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.3664, allocations: 109.7 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3664, allocations: 7.938 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3664, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3665, allocations: 4 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.3667, allocations: 67.95 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.3673, allocations: 400.4 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.3676, allocations: 82.66 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3677, allocations: 44.78 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3677, allocations: 0 / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3678, allocations: 42.44 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3678, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004025/0.3682, allocations: 129.9 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3682, allocations: 55.41 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3684, allocations: 157.8 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.3684, allocations: 29.7 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.3685, allocations: 112.2 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.3685, allocations: 19.84 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.3685, allocations: 29.7 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3687, allocations: 318.8 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.3688, allocations: 39.91 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3689, allocations: 50.56 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.3691, allocations: 52.83 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3691, allocations: 0 / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000249/0.3693, allocations: 117.5 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3693, allocations: 8 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3693, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3694, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.3694, allocations: 12.27 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3694, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.3695, allocations: 19.88 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3696, allocations: 7.938 kB / 1.326 GB, free: 14 MB / 1.029 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.0001114/0.3697, allocations: 125.8 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.3697, allocations: 11.89 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.3697, allocations: 24.64 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3698, allocations: 3.984 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3698, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3698, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.37, allocations: 209.6 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.37, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.3701, allocations: 19.92 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3701, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3701, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3701, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3701, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.3704, allocations: 195.4 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.3704, allocations: 88.98 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3705, allocations: 8 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3706, allocations: 11.98 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.3706, allocations: 15.98 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3707, allocations: 7.984 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.039e-05/0.3707, allocations: 117 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3707, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002417/0.371, allocations: 23.89 kB / 1.327 GB, free: 13.05 MB / 1.029 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.0006144/0.3716, allocations: 0.7357 MB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.3719, allocations: 71.94 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3719, allocations: 0 / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.372, allocations: 36.39 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3723, allocations: 15.25 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3743, allocations: 1.651 MB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3747, allocations: 0.7041 MB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.926e-05/0.3747, allocations: 12.66 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.3748, allocations: 39.36 kB / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3748, allocations: 0 / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.402, allocations: 2.667 MB / 1.332 GB, free: 7.105 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.987, allocations: 10.5 kB / 1.332 GB, free: 7.098 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.404381981818005]