Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437.1 MB / 0.7177 GB, free: 4.773 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3021, allocations: 151.6 MB / 1.176 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003171/0.3054, allocations: 1.495 MB / 1.177 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3069, allocations: 0.7323 MB / 1.178 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.307, allocations: 0 / 1.178 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.307, allocations: 3.938 kB / 1.178 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.3071, allocations: 15.88 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.3077, allocations: 119.6 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.3078, allocations: 83.75 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.3079, allocations: 7.938 kB / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.349e-05/0.308, allocations: 47.84 kB / 1.178 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.3081, allocations: 39.83 kB / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3081, allocations: 8 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.3083, allocations: 91.91 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.3084, allocations: 11.98 kB / 1.178 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.3084, allocations: 39.73 kB / 1.178 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3087, allocations: 143.5 kB / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3087, allocations: 0 / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3087, allocations: 0 / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.3087, allocations: 4 kB / 1.179 GB, free: 3.062 MB / 0.92 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.000651/0.3094, allocations: 416.7 kB / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3094, allocations: 16.03 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3095, allocations: 12.89 kB / 1.179 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3096, allocations: 176.2 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3097, allocations: 4.375 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.3097, allocations: 4.375 kB / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.3099, allocations: 77.91 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3099, allocations: 0 / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3099, allocations: 0 / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3099, allocations: 0 / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.3101, allocations: 43.95 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.3107, allocations: 308.8 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3108, allocations: 50.5 kB / 1.18 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.3109, allocations: 32.97 kB / 1.18 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.311, allocations: 4 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.3112, allocations: 79.44 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3112, allocations: 3.938 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004175/0.3116, allocations: 137.6 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.3117, allocations: 59.34 kB / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3118, allocations: 117.8 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3119, allocations: 33.7 kB / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.3119, allocations: 92.08 kB / 1.18 GB, free: 1.219 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.312, allocations: 19.84 kB / 1.18 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.312, allocations: 29.7 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3122, allocations: 322.8 kB / 1.181 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.3123, allocations: 23.98 kB / 1.181 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3124, allocations: 54.94 kB / 1.181 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3126, allocations: 82.77 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3126, allocations: 0 / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002606/0.3128, allocations: 113.6 kB / 1.181 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3129, allocations: 9.562 kB / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3129, allocations: 0 / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3129, allocations: 0 / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.313, allocations: 15.98 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.313, allocations: 0 / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.3131, allocations: 4 kB / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3131, allocations: 11.94 kB / 1.181 GB, free: 0.5078 MB / 0.92 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.0001059/0.3132, allocations: 125.7 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.3132, allocations: 11.95 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.3133, allocations: 8.375 kB / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3133, allocations: 0 / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3133, allocations: 3.938 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.3133, allocations: 4 kB / 1.181 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.3138, allocations: 382.4 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3138, allocations: 4 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.3139, allocations: 11.92 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3139, allocations: 4 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3139, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3139, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3139, allocations: 3.938 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.3142, allocations: 207.5 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.3143, allocations: 81.06 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3143, allocations: 4 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3144, allocations: 4 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.3145, allocations: 15.92 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.3145, allocations: 0 / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.3146, allocations: 95.27 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3146, allocations: 0 / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003098/0.3149, allocations: 39.92 kB / 1.182 GB, free: 15.42 MB / 0.9356 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.0003723/0.3153, allocations: 162 kB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.3155, allocations: 68.2 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3155, allocations: 0 / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3157, allocations: 44.05 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.3159, allocations: 12.09 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.3163, allocations: 206 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3167, allocations: 0.6885 MB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.3167, allocations: 15.44 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.3167, allocations: 0 / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of Templates: time 0.003763/0.3205, allocations: 1.619 MB / 1.185 GB, free: 12.57 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.884277959004976]