Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001522/0.001522, allocations: 84.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001596/0.001596, allocations: 161.3 kB / 23.55 MB, free: 0.8594 MB / 18.57 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.456/1.456, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.705/2.705, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.452e-05, allocations: 6.516 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002011/0.002036, allocations: 0.7949 MB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.003931, allocations: 1.192 MB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.003993, allocations: 0 / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.00403, allocations: 7.875 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.733e-05/0.004128, allocations: 14.23 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.004624, allocations: 143.5 kB / 0.7885 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.004866, allocations: 143.7 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.004971, allocations: 21.83 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.005151, allocations: 83.86 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.005263, allocations: 43.88 kB / 0.7888 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.005298, allocations: 12 kB / 0.7888 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.005376, allocations: 31.97 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.005412, allocations: 20.45 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.005493, allocations: 41.42 kB / 0.7889 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.005778, allocations: 171.5 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00578, allocations: 0 / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005781, allocations: 0 / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.005786, allocations: 1.094 kB / 0.789 GB, free: 10.14 MB / 0.7448 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.0008764/0.006662, allocations: 359.7 kB / 0.7894 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.006697, allocations: 8.781 kB / 0.7894 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/0.006774, allocations: 12.89 kB / 0.7894 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.00691, allocations: 122.6 kB / 0.7895 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.006931, allocations: 8.375 kB / 0.7895 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.00697, allocations: 18.89 kB / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.007226, allocations: 80.72 kB / 0.7896 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.007235, allocations: 192 / 0.7896 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.00725, allocations: 4.375 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.007254, allocations: 384 / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.007502, allocations: 64.59 kB / 0.7897 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.0081, allocations: 296.8 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.008283, allocations: 48.31 kB / 0.79 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.008398, allocations: 32.83 kB / 0.79 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.008412, allocations: 0.5625 kB / 0.79 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.008674, allocations: 91.75 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.008675, allocations: 0.875 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0005068/0.009182, allocations: 130.8 kB / 0.7902 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.009232, allocations: 51.41 kB / 0.7903 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.009368, allocations: 135 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.009411, allocations: 33.7 kB / 0.7905 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.0095, allocations: 96.03 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.00953, allocations: 25.62 kB / 0.7906 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.009623, allocations: 41.64 kB / 0.7906 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.009805, allocations: 322.7 kB / 0.7909 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.01002, allocations: 81.66 kB / 0.791 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.01027, allocations: 135.6 kB / 0.7911 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.01056, allocations: 118.3 kB / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01056, allocations: 0 / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005514/0.01111, allocations: 235 kB / 0.7915 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.01117, allocations: 41.69 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01117, allocations: 0 / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01119, allocations: 1.375 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.01128, allocations: 11.98 kB / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01129, allocations: 0 / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.01153, allocations: 37.45 kB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.01156, allocations: 4 kB / 0.7915 GB, free: 7.32 MB / 0.7448 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 0.0001332/0.01169, allocations: 136.5 kB / 0.7917 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.01171, allocations: 7.953 kB / 0.7917 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.01174, allocations: 12.44 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.01175, allocations: 0 / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01176, allocations: 3.938 kB / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01176, allocations: 0 / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.01192, allocations: 137.2 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01192, allocations: 0.5 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.01199, allocations: 12.48 kB / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.012, allocations: 1.938 kB / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01201, allocations: 0 / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01201, allocations: 0 / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01201, allocations: 0 / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.01234, allocations: 130 kB / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.01235, allocations: 7.953 kB / 0.792 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.01237, allocations: 2.906 kB / 0.792 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.01246, allocations: 15.98 kB / 0.792 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.01252, allocations: 15.97 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.01253, allocations: 3.938 kB / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.003e-05/0.01261, allocations: 99.2 kB / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01261, allocations: 0 / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002507/0.01286, allocations: 24 kB / 0.7921 GB, free: 6.676 MB / 0.7448 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.0001744/0.01303, allocations: 105.3 kB / 0.7922 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.01348, allocations: 185.9 kB / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.01348, allocations: 0 / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.01362, allocations: 37.09 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.01385, allocations: 16.98 kB / 0.7925 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.0143, allocations: 176.7 kB / 0.7926 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.462e-05/0.01439, allocations: 72.55 kB / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.01442, allocations: 5.75 kB / 0.7927 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.01447, allocations: 20.48 kB / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01447, allocations: 0 / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of Templates: time 0.005229/0.0197, allocations: 1.795 MB / 0.7945 GB, free: 4.254 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.538903124048375]