Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001324/0.001324, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001664/0.001664, allocations: 197.4 kB / 22.17 MB, free: 5.656 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.576/1.576, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.88 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.8977, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003096/0.9008, allocations: 1.511 MB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.9023, allocations: 0.7495 MB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.9023, allocations: 0 / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.9024, allocations: 3.938 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.9025, allocations: 11.88 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.9031, allocations: 115.6 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.9033, allocations: 91.64 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.9034, allocations: 15.94 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.9035, allocations: 27.92 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.67e-05/0.9036, allocations: 43.81 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.9036, allocations: 8 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.9038, allocations: 107.8 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.9038, allocations: 11.98 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.9039, allocations: 31.8 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.9042, allocations: 146.2 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9042, allocations: 0 / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9042, allocations: 4 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.9042, allocations: 0 / 1.277 GB, free: 1.656 MB / 0.9669 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.0007802/0.905, allocations: 416.8 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.905, allocations: 8.031 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.905, allocations: 12.83 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.9052, allocations: 172.3 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.9052, allocations: 8.375 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.9053, allocations: 8.359 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.9055, allocations: 73.97 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9055, allocations: 4 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.9055, allocations: 0 / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.9055, allocations: 0 / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.9056, allocations: 35.97 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.9063, allocations: 320.7 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.9065, allocations: 42.56 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.9066, allocations: 28.97 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.9066, allocations: 0 / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.9069, allocations: 79.31 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 3.597e-06/0.9069, allocations: 7.938 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004225/0.9073, allocations: 133.6 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.9073, allocations: 63.39 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.9075, allocations: 129.6 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.9075, allocations: 29.7 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.9076, allocations: 92.12 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.9076, allocations: 15.97 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.9077, allocations: 29.7 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.9078, allocations: 326.8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-05/0.9079, allocations: 23.97 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.956e-05/0.908, allocations: 50.56 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.9082, allocations: 78.48 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9082, allocations: 4 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002462/0.9084, allocations: 109.8 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9084, allocations: 8 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9084, allocations: 80 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9084, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.9085, allocations: 19.92 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.9086, allocations: 3.984 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.649e-05/0.9086, allocations: 12.06 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.9086, allocations: 4 kB / 1.279 GB, free: 15.11 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.0001123/0.9088, allocations: 125.1 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.9088, allocations: 11.94 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.9088, allocations: 8.375 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.9088, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9088, allocations: 3.938 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9088, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.9093, allocations: 394.3 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.9093, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.9094, allocations: 8 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9094, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.9094, allocations: 3.984 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9094, allocations: 0 / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9094, allocations: 3.938 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.9097, allocations: 207.5 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.9098, allocations: 85.05 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.9098, allocations: 4 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.9099, allocations: 4 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.9099, allocations: 11.92 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.91, allocations: 0 / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.725e-05/0.91, allocations: 95.27 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.91, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003263/0.9104, allocations: 39.94 kB / 1.28 GB, free: 14.02 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.0004488/0.9108, allocations: 159.8 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.9111, allocations: 71.88 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.9111, allocations: 4.125 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.9112, allocations: 31.98 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.9115, allocations: 15.92 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.912, allocations: 192.2 kB / 1.28 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.9124, allocations: 0.6885 MB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.9124, allocations: 4 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.9124, allocations: 11.44 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.9124, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.005486/0.9179, allocations: 1.484 MB / 1.283 GB, free: 11.32 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.138339607045054]