Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001852/0.001852, 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.002324/0.002324, allocations: 223.4 kB / 23.01 MB, free: 4.609 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.793/2.793, allocations: 476.8 MB / 0.7714 GB, free: 4.312 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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [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.002084/0.002084, allocations: 66.33 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3127, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002976/0.3157, allocations: 1.541 MB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3171, allocations: 0.8119 MB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.3172, allocations: 0 / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.3172, allocations: 7.922 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.3173, allocations: 15.88 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.3179, allocations: 143.5 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.318, allocations: 83.7 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.3181, allocations: 8.125 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3182, allocations: 51.89 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.3183, allocations: 35.84 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3183, allocations: 4 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.3186, allocations: 147.7 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.3186, allocations: 15.92 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.3187, allocations: 35.86 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.3189, allocations: 151.5 kB / 1.288 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3189, allocations: 0 / 1.288 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3189, allocations: 0 / 1.288 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3189, allocations: 0 / 1.288 GB, free: 8.211 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.0006112/0.3196, allocations: 353.6 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3196, allocations: 12.03 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/0.3199, allocations: 32.86 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.3201, allocations: 134.4 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3202, allocations: 8.359 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3202, allocations: 8.375 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3204, allocations: 69.78 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3204, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3204, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.3204, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.3205, allocations: 35.97 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.3211, allocations: 291.8 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.3212, allocations: 46.56 kB / 1.289 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.3213, allocations: 28.97 kB / 1.289 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3213, allocations: 4 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.3214, allocations: 75.38 kB / 1.289 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 3.246e-06/0.3215, allocations: 3.984 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003848/0.3218, allocations: 141.5 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.3219, allocations: 55.41 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.322, allocations: 126.4 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.322, allocations: 33.7 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.3221, allocations: 96.16 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3221, allocations: 23.83 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.3222, allocations: 29.7 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3223, allocations: 322.8 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.3224, allocations: 23.98 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3225, allocations: 50.5 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3226, allocations: 78.48 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3226, allocations: 0 / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002381/0.3229, allocations: 113.5 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3229, allocations: 4 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3229, allocations: 8.453 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3229, allocations: 0 / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/0.323, allocations: 11.98 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.323, allocations: 3.938 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.3231, allocations: 8 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3231, allocations: 4 kB / 1.29 GB, free: 5.812 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 9.691e-05/0.3232, allocations: 121.8 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.3232, allocations: 7.953 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3232, allocations: 16.38 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3232, allocations: 0 / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3232, allocations: 0 / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3233, allocations: 0 / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.3237, allocations: 357.4 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3237, allocations: 0 / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.3237, allocations: 7.984 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3237, allocations: 0 / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3238, allocations: 12 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.3238, allocations: 3.938 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3238, allocations: 0 / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.324, allocations: 199.5 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.3241, allocations: 11.88 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3241, allocations: 3.938 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/0.3242, allocations: 11.94 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.3242, allocations: 11.98 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3242, allocations: 0 / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.3243, allocations: 95.27 kB / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3243, allocations: 3.938 kB / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003028/0.3246, allocations: 39.92 kB / 1.291 GB, free: 4.848 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.0003747/0.325, allocations: 170 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3252, allocations: 67.89 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3252, allocations: 0 / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.3253, allocations: 35.97 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3256, allocations: 7.984 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.326, allocations: 222.5 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3263, allocations: 0.6846 MB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.3264, allocations: 15.42 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3264, allocations: 0 / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.003758/0.3301, allocations: 1.644 MB / 1.293 GB, free: 1.961 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.570009354007198]