Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.00248/0.00248, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002868/0.002868, allocations: 161.3 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.332 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.87/2.87, allocations: 359 MB / 0.6048 GB, free: 10.94 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 3.938 kB / 0.7864 GB, free: 11.71 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.263e-05, allocations: 9.125 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003034/0.003066, allocations: 1.52 MB / 0.7879 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.00475, allocations: 0.7781 MB / 0.7886 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.004805, allocations: 0 / 0.7886 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.004834, allocations: 3.938 kB / 0.7886 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.004911, allocations: 16.8 kB / 0.7886 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006765/0.005587, allocations: 148.8 kB / 0.7888 GB, free: 9.238 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.005736, allocations: 83.64 kB / 0.7889 GB, free: 9.156 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.719e-05/0.005833, allocations: 16.16 kB / 0.7889 GB, free: 9.141 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.006014, allocations: 56.84 kB / 0.7889 GB, free: 9.086 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.006084, allocations: 27.95 kB / 0.789 GB, free: 9.059 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.006109, allocations: 8 kB / 0.789 GB, free: 9.051 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.006409, allocations: 136.4 kB / 0.7891 GB, free: 8.918 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.00645, allocations: 23.91 kB / 0.7891 GB, free: 8.895 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.006515, allocations: 22.47 kB / 0.7891 GB, free: 8.875 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.006894, allocations: 175.4 kB / 0.7893 GB, free: 8.703 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006897, allocations: 0 / 0.7893 GB, free: 8.703 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.006898, allocations: 3.938 kB / 0.7893 GB, free: 8.699 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.006904, allocations: 0 / 0.7893 GB, free: 8.699 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.0008551/0.00776, allocations: 449.5 kB / 0.7897 GB, free: 8.219 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.007807, allocations: 13.75 kB / 0.7897 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/0.008202, allocations: 32.86 kB / 0.7898 GB, free: 8.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.008468, allocations: 133.1 kB / 0.7899 GB, free: 8.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.008501, allocations: 8.375 kB / 0.7899 GB, free: 8.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.00852, allocations: 4.969 kB / 0.7899 GB, free: 8.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.008735, allocations: 67.22 kB / 0.79 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.008745, allocations: 192 / 0.79 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.00876, allocations: 8.125 kB / 0.79 GB, free: 7.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.008769, allocations: 5.156 kB / 0.79 GB, free: 7.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.008899, allocations: 35.97 kB / 0.79 GB, free: 7.891 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.009555, allocations: 305.1 kB / 0.7903 GB, free: 7.559 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.009711, allocations: 58.98 kB / 0.7904 GB, free: 7.488 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.009796, allocations: 29.61 kB / 0.7904 GB, free: 7.457 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.009825, allocations: 11.94 kB / 0.7904 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.009995, allocations: 77.03 kB / 0.7905 GB, free: 7.355 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.009997, allocations: 5.438 kB / 0.7905 GB, free: 7.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004647/0.01046, allocations: 141.6 kB / 0.7906 GB, free: 7.207 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.01051, allocations: 55.34 kB / 0.7907 GB, free: 7.141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.01068, allocations: 190.4 kB / 0.7909 GB, free: 6.938 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.01071, allocations: 29.7 kB / 0.7909 GB, free: 6.902 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.0108, allocations: 136.8 kB / 0.791 GB, free: 6.766 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.01084, allocations: 23.91 kB / 0.791 GB, free: 6.742 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.01091, allocations: 39.36 kB / 0.7911 GB, free: 6.695 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002672/0.01117, allocations: 0.4922 MB / 0.7916 GB, free: 6.191 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.01125, allocations: 30.55 kB / 0.7916 GB, free: 6.164 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.01161, allocations: 62.73 kB / 0.7917 GB, free: 6.086 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.0118, allocations: 90.66 kB / 0.7917 GB, free: 5.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.0118, allocations: 0 / 0.7917 GB, free: 5.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002712/0.01207, allocations: 122.7 kB / 0.7919 GB, free: 5.855 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.01209, allocations: 4 kB / 0.7919 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01209, allocations: 0.5312 kB / 0.7919 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.01211, allocations: 4 kB / 0.7919 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.01222, allocations: 17.58 kB / 0.7919 GB, free: 5.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01223, allocations: 4 kB / 0.7919 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.0123, allocations: 11.95 kB / 0.7919 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01231, allocations: 0 / 0.7919 GB, free: 5.816 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001367/0.01245, allocations: 165.7 kB / 0.7921 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.01247, allocations: 16.66 kB / 0.7921 GB, free: 5.629 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.0125, allocations: 8.438 kB / 0.7921 GB, free: 5.621 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.0125, allocations: 4.906 kB / 0.7921 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01251, allocations: 3.938 kB / 0.7921 GB, free: 5.613 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.01251, allocations: 0 / 0.7921 GB, free: 5.613 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.01303, allocations: 378.2 kB / 0.7924 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01303, allocations: 1.188 kB / 0.7924 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.01306, allocations: 64 / 0.7924 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.01307, allocations: 8.047 kB / 0.7925 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.01309, allocations: 8.828 kB / 0.7925 GB, free: 5.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.01309, allocations: 3.984 kB / 0.7925 GB, free: 5.184 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01309, allocations: 0 / 0.7925 GB, free: 5.184 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.01347, allocations: 273.1 kB / 0.7927 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.01349, allocations: 15.83 kB / 0.7927 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01351, allocations: 0 / 0.7927 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.01359, allocations: 5.156 kB / 0.7927 GB, free: 4.879 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.01364, allocations: 7.984 kB / 0.7928 GB, free: 4.871 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01365, allocations: 4 kB / 0.7928 GB, free: 4.867 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.598e-05/0.01374, allocations: 143.8 kB / 0.7929 GB, free: 4.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.01374, allocations: 0 / 0.7929 GB, free: 4.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003074/0.01405, allocations: 39.92 kB / 0.7929 GB, free: 4.691 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,occ.y,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.0004925/0.01454, allocations: 166.2 kB / 0.7931 GB, free: 4.539 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.0148, allocations: 75.58 kB / 0.7932 GB, free: 4.461 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0148, allocations: 1.875 kB / 0.7932 GB, free: 4.461 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01491, allocations: 47.61 kB / 0.7932 GB, free: 4.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.01517, allocations: 11.19 kB / 0.7932 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.01564, allocations: 180 kB / 0.7934 GB, free: 4.195 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.01572, allocations: 76.42 kB / 0.7935 GB, free: 4.102 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.01576, allocations: 0 / 0.7935 GB, free: 4.102 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.0158, allocations: 17.16 kB / 0.7935 GB, free: 4.086 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.0158, allocations: 0.7812 kB / 0.7935 GB, free: 4.086 MB / 0.698 GB Notification: Performance of Templates: time 0.005386/0.02118, allocations: 1.527 MB / 0.795 GB, free: 2.594 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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: 8.00308433698956]