Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001453/0.001453, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001563/0.001563, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.467/1.467, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.735/2.735, 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.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.7863 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.331e-05, allocations: 6.797 kB / 0.7864 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003281/0.003315, allocations: 1.519 MB / 0.7878 GB, free: 10.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.005003, allocations: 0.7588 MB / 0.7886 GB, free: 9.449 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.005074, allocations: 7.938 kB / 0.7886 GB, free: 9.441 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.005109, allocations: 5.25 kB / 0.7886 GB, free: 9.438 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.005177, allocations: 11.81 kB / 0.7886 GB, free: 9.426 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.005893, allocations: 148.1 kB / 0.7887 GB, free: 9.281 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.006058, allocations: 88.62 kB / 0.7888 GB, free: 9.195 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.006143, allocations: 8.172 kB / 0.7888 GB, free: 9.188 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.006313, allocations: 51.94 kB / 0.7889 GB, free: 9.137 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.006386, allocations: 33.92 kB / 0.7889 GB, free: 9.105 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.006407, allocations: 4 kB / 0.7889 GB, free: 9.102 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.006726, allocations: 139.7 kB / 0.7891 GB, free: 8.965 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.006761, allocations: 19.92 kB / 0.7891 GB, free: 8.945 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.006813, allocations: 19.97 kB / 0.7891 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.007172, allocations: 168 kB / 0.7892 GB, free: 8.762 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.007177, allocations: 4.938 kB / 0.7893 GB, free: 8.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007178, allocations: 0 / 0.7893 GB, free: 8.758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.007184, allocations: 0 / 0.7893 GB, free: 8.758 MB / 0.698 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.0007119/0.007896, allocations: 356.6 kB / 0.7896 GB, free: 8.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.007933, allocations: 8.031 kB / 0.7896 GB, free: 8.367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/0.00829, allocations: 34.27 kB / 0.7896 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.008561, allocations: 134.7 kB / 0.7898 GB, free: 8.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.008586, allocations: 4.375 kB / 0.7898 GB, free: 8.176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.008609, allocations: 8.375 kB / 0.7898 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.008822, allocations: 67.78 kB / 0.7898 GB, free: 8.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.008831, allocations: 192 / 0.7898 GB, free: 8.098 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.008847, allocations: 4.125 kB / 0.7898 GB, free: 8.094 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.008852, allocations: 0 / 0.7898 GB, free: 8.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.009, allocations: 41.45 kB / 0.7899 GB, free: 8.055 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/0.009623, allocations: 250.3 kB / 0.7901 GB, free: 7.781 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.009782, allocations: 50.5 kB / 0.7902 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.009877, allocations: 28.97 kB / 0.7902 GB, free: 7.691 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.009903, allocations: 6.312 kB / 0.7902 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.01009, allocations: 75.38 kB / 0.7903 GB, free: 7.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.01009, allocations: 0 / 0.7903 GB, free: 7.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005009/0.01059, allocations: 153.6 kB / 0.7904 GB, free: 7.445 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.01065, allocations: 56.02 kB / 0.7905 GB, free: 7.379 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.01079, allocations: 124.6 kB / 0.7906 GB, free: 7.246 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.01082, allocations: 27.36 kB / 0.7906 GB, free: 7.215 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.01089, allocations: 96.12 kB / 0.7907 GB, free: 7.117 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.01092, allocations: 15.84 kB / 0.7907 GB, free: 7.102 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.01098, allocations: 29.7 kB / 0.7908 GB, free: 7.066 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004244/0.0114, allocations: 322.8 kB / 0.7911 GB, free: 6.742 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.0115, allocations: 24.52 kB / 0.7911 GB, free: 6.719 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.01161, allocations: 51.88 kB / 0.7911 GB, free: 6.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.01181, allocations: 75.64 kB / 0.7912 GB, free: 6.578 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01181, allocations: 0 / 0.7912 GB, free: 6.578 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002888/0.0121, allocations: 122.8 kB / 0.7913 GB, free: 6.453 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.01212, allocations: 8 kB / 0.7913 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01212, allocations: 1.75 kB / 0.7913 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.01214, allocations: 0 / 0.7913 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01224, allocations: 15.92 kB / 0.7914 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.01225, allocations: 4 kB / 0.7914 GB, free: 6.426 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.01232, allocations: 8.703 kB / 0.7914 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.01233, allocations: 0 / 0.7914 GB, free: 6.418 MB / 0.698 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.0001194/0.01245, allocations: 126.6 kB / 0.7915 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.01248, allocations: 13.83 kB / 0.7915 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.01251, allocations: 4.438 kB / 0.7915 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.01251, allocations: 4 kB / 0.7915 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01251, allocations: 0 / 0.7915 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01252, allocations: 0 / 0.7915 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.01309, allocations: 328.4 kB / 0.7918 GB, free: 5.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.0131, allocations: 4 kB / 0.7918 GB, free: 5.906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.01314, allocations: 7.984 kB / 0.7918 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01315, allocations: 0 / 0.7918 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01316, allocations: 0 / 0.7918 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01316, allocations: 0.7188 kB / 0.7918 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01316, allocations: 0 / 0.7918 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.01354, allocations: 229.5 kB / 0.792 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.01356, allocations: 15.89 kB / 0.7921 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.01358, allocations: 3.938 kB / 0.7921 GB, free: 5.641 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.01367, allocations: 4 kB / 0.7921 GB, free: 5.637 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.01372, allocations: 3.984 kB / 0.7921 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.01374, allocations: 8.906 kB / 0.7921 GB, free: 5.625 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.84e-05/0.01382, allocations: 94.64 kB / 0.7922 GB, free: 5.535 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.01382, allocations: 4.844 kB / 0.7922 GB, free: 5.531 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003223/0.01414, allocations: 39.92 kB / 0.7922 GB, free: 5.492 MB / 0.698 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.0004929/0.01463, allocations: 167.2 kB / 0.7924 GB, free: 5.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.0149, allocations: 73.48 kB / 0.7924 GB, free: 5.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01491, allocations: 0 / 0.7924 GB, free: 5.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.01501, allocations: 27.98 kB / 0.7925 GB, free: 5.242 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.01529, allocations: 19.14 kB / 0.7925 GB, free: 5.227 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.01576, allocations: 184.5 kB / 0.7927 GB, free: 5.023 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.112e-05/0.01584, allocations: 71.33 kB / 0.7927 GB, free: 4.934 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.01588, allocations: 4 kB / 0.7927 GB, free: 4.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.01591, allocations: 12.5 kB / 0.7928 GB, free: 4.918 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.01591, allocations: 0 / 0.7928 GB, free: 4.918 MB / 0.698 GB Notification: Performance of Templates: time 0.00515/0.02106, allocations: 1.51 MB / 0.7942 GB, free: 3.441 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.569748451933265]