Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.00133/0.00133, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001446/0.001446, allocations: 212.6 kB / 23.01 MB, free: 5.125 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.8 MB / 0.7714 GB, free: 4.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 66.59 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2856, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003004/0.2886, allocations: 1.53 MB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2902, allocations: 0.8235 MB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.2903, allocations: 0 / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.2903, allocations: 7.938 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.667e-05/0.2904, allocations: 7.875 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.291, allocations: 151.5 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.2912, allocations: 75.72 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.2913, allocations: 16.11 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.2915, allocations: 39.91 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.2915, allocations: 35.84 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.2916, allocations: 8 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.2919, allocations: 155.7 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.2919, allocations: 11.98 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.2919, allocations: 35.8 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.2922, allocations: 151.5 kB / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2922, allocations: 0 / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2922, allocations: 0 / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2922, allocations: 0 / 1.288 GB, free: 8.195 MB / 0.9825 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.0006427/0.2929, allocations: 347.5 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2929, allocations: 8.031 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.2933, allocations: 32.88 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.2935, allocations: 139 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.2935, allocations: 12.38 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2935, allocations: 4.375 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2937, allocations: 65.78 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2937, allocations: 0 / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2937, allocations: 7.938 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2937, allocations: 8 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.2939, allocations: 35.97 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.2945, allocations: 287.8 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.2946, allocations: 42.56 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.2947, allocations: 32.95 kB / 1.289 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2947, allocations: 4 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.2949, allocations: 75.38 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.2949, allocations: 0 / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004149/0.2953, allocations: 141.5 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.2954, allocations: 63.47 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2955, allocations: 126.8 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2955, allocations: 25.7 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.2956, allocations: 96.09 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.2956, allocations: 11.84 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.2957, allocations: 33.64 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2958, allocations: 326.8 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.2959, allocations: 23.98 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.296, allocations: 54.55 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.2962, allocations: 70.5 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2962, allocations: 0 / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002446/0.2964, allocations: 113.5 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2964, allocations: 4 kB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2964, allocations: 0 / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2964, allocations: 4 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.2965, allocations: 15.98 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.2965, allocations: 3.938 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.2966, allocations: 7.984 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2966, allocations: 7.938 kB / 1.29 GB, free: 5.797 MB / 0.9825 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.000114/0.2967, allocations: 125.6 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.2968, allocations: 7.953 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.2968, allocations: 8.375 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2968, allocations: 7.984 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2968, allocations: 0 / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2968, allocations: 3.984 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.2973, allocations: 353.5 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2973, allocations: 0 / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.2973, allocations: 11.98 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2973, allocations: 0 / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.2973, allocations: 0 / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.2973, allocations: 7.938 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2973, allocations: 0 / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.2977, allocations: 207.5 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.2977, allocations: 19.83 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2977, allocations: 4 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.2978, allocations: 11.92 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.2978, allocations: 0 / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.2978, allocations: 7.984 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.2979, allocations: 91.28 kB / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2979, allocations: 4 kB / 1.291 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003085/0.2982, allocations: 39.92 kB / 1.291 GB, free: 4.828 MB / 0.9825 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.0003625/0.2986, allocations: 153.2 kB / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.2988, allocations: 79.86 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2988, allocations: 7.938 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.2989, allocations: 27.98 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.2992, allocations: 8.828 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.2996, allocations: 226.4 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.2999, allocations: 0.6885 MB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.3, allocations: 11.44 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3, allocations: 0 / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of Templates: time 0.003677/0.3036, allocations: 1.637 MB / 1.293 GB, free: 1.953 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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: 11.391191076982068]