Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001908/0.001908, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002048/0.002048, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.621 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.862/2.862, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.498e-05, allocations: 8.688 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003056/0.003091, allocations: 1.529 MB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.004709, allocations: 0.7817 MB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.004769, allocations: 4 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.004798, allocations: 3.938 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.004864, allocations: 12.95 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.005563, allocations: 147.4 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.005722, allocations: 80.94 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.005826, allocations: 8.188 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.006005, allocations: 57.06 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.006076, allocations: 27.95 kB / 0.789 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.006103, allocations: 4 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.006423, allocations: 143.7 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.006452, allocations: 13.45 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.006509, allocations: 27.91 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.006831, allocations: 171.5 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006833, allocations: 0 / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006834, allocations: 5 kB / 0.7893 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.00684, allocations: 0 / 0.7893 GB, free: 9.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007548/0.007595, allocations: 446.6 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.007634, allocations: 8.031 kB / 0.7897 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.007974, allocations: 38.45 kB / 0.7898 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.008192, allocations: 132.5 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.008215, allocations: 4.375 kB / 0.7899 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.008232, allocations: 5.75 kB / 0.7899 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.008418, allocations: 70.22 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.008427, allocations: 192 / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.008441, allocations: 7 kB / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.008446, allocations: 0 / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.008571, allocations: 35.91 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.009216, allocations: 307.7 kB / 0.7903 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.009362, allocations: 51.05 kB / 0.7904 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.009449, allocations: 36.52 kB / 0.7904 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.009474, allocations: 5.594 kB / 0.7904 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.009646, allocations: 84.97 kB / 0.7905 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.009648, allocations: 3.938 kB / 0.7905 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004407/0.01009, allocations: 143.6 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.01014, allocations: 51.41 kB / 0.7907 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.01031, allocations: 193.9 kB / 0.7909 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.01034, allocations: 29.7 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.01044, allocations: 136.1 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.01047, allocations: 19.84 kB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.01054, allocations: 39.36 kB / 0.7911 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002772/0.01081, allocations: 0.4923 MB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.0109, allocations: 25.58 kB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.01102, allocations: 59.05 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.0112, allocations: 84.88 kB / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.0112, allocations: 0 / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002693/0.01147, allocations: 122.2 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01149, allocations: 4 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.0115, allocations: 0.5312 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.01151, allocations: 4 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01162, allocations: 12.7 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.01162, allocations: 0.5312 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.284e-05/0.01169, allocations: 11.95 kB / 0.7919 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.0117, allocations: 9.297 kB / 0.7919 GB, free: 6.973 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: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001351/0.01184, allocations: 164.6 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.01187, allocations: 12.42 kB / 0.792 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.01189, allocations: 13.75 kB / 0.792 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01189, allocations: 0 / 0.792 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.0119, allocations: 4 kB / 0.7921 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.0119, allocations: 0 / 0.7921 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.01256, allocations: 382.4 kB / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01257, allocations: 0 / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.0126, allocations: 5.188 kB / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.01261, allocations: 3.984 kB / 0.7924 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01262, allocations: 4 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01262, allocations: 4 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01262, allocations: 4.75 kB / 0.7924 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.01299, allocations: 268.7 kB / 0.7927 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.013, allocations: 7.953 kB / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01302, allocations: 0 / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.0131, allocations: 5.328 kB / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.01315, allocations: 11.98 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.01316, allocations: 7.984 kB / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.412e-05/0.01326, allocations: 137.9 kB / 0.7929 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01326, allocations: 0 / 0.7929 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000282/0.01354, allocations: 37.91 kB / 0.7929 GB, free: 5.863 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004909/0.01403, allocations: 170.3 kB / 0.7931 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.01429, allocations: 87.23 kB / 0.7931 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01429, allocations: 0 / 0.7931 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.0144, allocations: 43.61 kB / 0.7932 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.01465, allocations: 15.92 kB / 0.7932 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.01512, allocations: 186.7 kB / 0.7934 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.564e-05/0.0152, allocations: 71.95 kB / 0.7934 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.01524, allocations: 5.844 kB / 0.7934 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.01528, allocations: 20.48 kB / 0.7935 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/0.01528, allocations: 3.938 kB / 0.7935 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.005192/0.02047, allocations: 1.51 MB / 0.7949 GB, free: 3.75 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.983892256976105]