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.001313/0.001313, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001643/0.001643, allocations: 215.6 kB / 22.25 MB, free: 5.078 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.984 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.826/2.826, allocations: 476.7 MB / 0.7707 GB, free: 4.262 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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) [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.002135/0.002135, allocations: 67.59 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3348, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002956/0.3377, allocations: 1.538 MB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3392, allocations: 0.8158 MB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.3393, allocations: 0 / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.3393, allocations: 3.938 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.3393, allocations: 11.88 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.3399, allocations: 147.5 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.34, allocations: 75.78 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.58e-05/0.3401, allocations: 15.97 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3403, allocations: 43.84 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.3403, allocations: 39.83 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.3404, allocations: 8 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.3406, allocations: 143.7 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.3407, allocations: 15.98 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.3407, allocations: 39.8 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.341, allocations: 152 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.341, allocations: 3.938 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.341, allocations: 0 / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.341, allocations: 0 / 1.286 GB, free: 8.625 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.0006214/0.3416, allocations: 351.5 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3417, allocations: 8.031 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.3417, allocations: 38.75 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.3421, allocations: 32.86 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.3423, allocations: 126.9 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3423, allocations: 8.312 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3423, allocations: 4.375 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3425, allocations: 73.59 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3425, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3425, allocations: 3.984 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3425, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3427, allocations: 47.89 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.3433, allocations: 283.8 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3434, allocations: 50.5 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.3435, allocations: 32.97 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3435, allocations: 0 / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.3437, allocations: 75.38 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3437, allocations: 0 / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004328/0.3441, allocations: 141.6 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.3442, allocations: 55.41 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3443, allocations: 128.4 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3443, allocations: 29.7 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.3444, allocations: 96.08 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3445, allocations: 19.84 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.3445, allocations: 29.7 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3447, allocations: 314.8 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.3448, allocations: 31.97 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.3449, allocations: 46.56 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.345, allocations: 78.78 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.345, allocations: 0 / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002486/0.3453, allocations: 117.6 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3453, allocations: 4 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3453, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3453, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.3454, allocations: 11.98 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3454, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.3455, allocations: 4 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.3455, allocations: 11.94 kB / 1.288 GB, free: 6.191 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.0001117/0.3456, allocations: 121.8 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.3456, allocations: 15.83 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.3457, allocations: 16.36 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3457, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3457, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3457, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.3462, allocations: 353.4 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3462, allocations: 4 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.3462, allocations: 8 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3462, allocations: 4 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3462, allocations: 3.984 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3462, allocations: 3.938 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3462, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.3465, allocations: 207.5 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.3466, allocations: 7.891 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3466, allocations: 3.984 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.3467, allocations: 11.94 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.3467, allocations: 11.98 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3467, allocations: 0 / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.429e-05/0.3468, allocations: 102.8 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3468, allocations: 0 / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003192/0.3471, allocations: 35.94 kB / 1.289 GB, free: 5.223 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.0008937/0.348, allocations: 0.8035 MB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3483, allocations: 75.88 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3483, allocations: 4.125 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.256e-05/0.3483, allocations: 27.98 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3486, allocations: 13.59 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.3503, allocations: 1.504 MB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3507, allocations: 0.6907 MB / 1.292 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.3507, allocations: 4 kB / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.3507, allocations: 23.42 kB / 1.292 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3507, allocations: 4 kB / 1.292 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.3802, allocations: 2.817 MB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.61, allocations: 9.812 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 420.0] 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] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 18.250582485925406]