Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.0018/0.0018, allocations: 110.4 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.001797/0.001797, allocations: 213.7 kB / 22.25 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.977 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.195/3.195, allocations: 0.49 GB / 0.7951 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] 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.EquipmentOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.001986/0.001986, allocations: 67.94 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002231/0.3138, allocations: 0.8135 MB / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3156, allocations: 1.194 MB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.3157, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/0.3157, allocations: 11.88 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.188e-05/0.3158, allocations: 11.86 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.3164, allocations: 147.5 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3166, allocations: 143.7 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3167, allocations: 32.25 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3168, allocations: 55.91 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.3169, allocations: 55.8 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.3169, allocations: 16 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.317, allocations: 31.92 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.317, allocations: 15.92 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.3171, allocations: 59.78 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.3174, allocations: 151.5 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3174, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3174, allocations: 4 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3174, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006453/0.318, allocations: 355.7 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3181, allocations: 12.03 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.3181, allocations: 34.75 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.3181, allocations: 12.89 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.3182, allocations: 118.4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3183, allocations: 12.36 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.3183, allocations: 20.36 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.3185, allocations: 82.22 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3185, allocations: 3.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3186, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.3186, allocations: 4 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.3188, allocations: 59.94 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.3193, allocations: 351.6 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3195, allocations: 50.55 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-05/0.3196, allocations: 28.88 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3196, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.3198, allocations: 91.34 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3198, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004214/0.3203, allocations: 125.6 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3203, allocations: 51.41 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3204, allocations: 133.7 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.3205, allocations: 29.7 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.3205, allocations: 108 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.3205, allocations: 11.89 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.3206, allocations: 37.7 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3208, allocations: 318.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3209, allocations: 51.91 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3211, allocations: 91.38 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.3213, allocations: 112.1 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3213, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004413/0.3218, allocations: 203.3 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.3218, allocations: 33.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3218, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3219, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.3219, allocations: 7.984 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3219, allocations: 3.938 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.3222, allocations: 43.91 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.3222, allocations: 11.98 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.753e-05/0.3223, allocations: 121.5 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.3223, allocations: 7.953 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.3223, allocations: 12.31 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3223, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3224, allocations: 3.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3224, allocations: 3.984 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3225, allocations: 156.7 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3225, allocations: 320 / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.3226, allocations: 11.98 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3226, allocations: 4 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3226, allocations: 4 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3226, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3226, allocations: 3.938 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3228, allocations: 121 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.3229, allocations: 8 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3229, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.3229, allocations: 11.98 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.323, allocations: 23.84 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.323, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.101e-05/0.3231, allocations: 95.27 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3231, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002311/0.3233, allocations: 31.89 kB / 1.332 GB, free: 11.7 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006118/0.3239, allocations: 0.6632 MB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.3243, allocations: 155.4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3243, allocations: 128 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.3244, allocations: 35.97 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.3246, allocations: 23.92 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.3267, allocations: 1.612 MB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.327, allocations: 0.6885 MB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.479e-05/0.327, allocations: 7.984 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.3271, allocations: 23.44 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3271, allocations: 4 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.3565, allocations: 2.922 MB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.1, allocations: 6.547 kB / 1.338 GB, free: 5.551 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.737209907965735]