Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001662/0.001662, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002083/0.002083, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.493/1.493, allocations: 225.6 MB / 251 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Zhang2012WindowsNorth,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.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_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 59.89 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 160.8 MB / 1.218 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003152/1.034, allocations: 1.511 MB / 1.22 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001477/1.035, allocations: 0.7484 MB / 1.221 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/1.035, allocations: 0 / 1.221 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/1.036, allocations: 7.875 kB / 1.221 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/1.036, allocations: 14.59 kB / 1.221 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/1.036, allocations: 139 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/1.036, allocations: 78.3 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/1.036, allocations: 3.312 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/1.037, allocations: 42.33 kB / 1.221 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/1.037, allocations: 36.53 kB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/1.037, allocations: 5.406 kB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/1.037, allocations: 137.8 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/1.037, allocations: 14.36 kB / 1.221 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/1.037, allocations: 35.48 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/1.037, allocations: 141.4 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.037, allocations: 0 / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/1.037, allocations: 4 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.037, allocations: 5.281 kB / 1.221 GB, free: 1.77 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.0007508/1.038, allocations: 424.7 kB / 1.222 GB, free: 1.332 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.038, allocations: 9.594 kB / 1.222 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/1.038, allocations: 12.92 kB / 1.222 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/1.038, allocations: 172.2 kB / 1.222 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/1.038, allocations: 6.531 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/1.038, allocations: 3.656 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/1.039, allocations: 72.81 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.039, allocations: 3.984 kB / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/1.039, allocations: 9.109 kB / 1.222 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.039, allocations: 1.094 kB / 1.222 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/1.039, allocations: 36.14 kB / 1.222 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/1.039, allocations: 317.3 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/1.04, allocations: 38.88 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/1.04, allocations: 29.75 kB / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/1.04, allocations: 5.156 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/1.04, allocations: 81.84 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/1.04, allocations: 4 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004177/1.04, allocations: 136.3 kB / 1.223 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/1.04, allocations: 61.58 kB / 1.223 GB, free: 432 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/1.04, allocations: 120.6 kB / 1.223 GB, free: 316 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/1.04, allocations: 26.58 kB / 1.223 GB, free: 284 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/1.041, allocations: 95.3 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/1.041, allocations: 18.11 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/1.041, allocations: 34.3 kB / 1.223 GB, free: 140 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.041, allocations: 320.8 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/1.041, allocations: 26.44 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.866e-05/1.041, allocations: 49.12 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/1.041, allocations: 77.59 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/1.041, allocations: 3.938 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002728/1.041, allocations: 113.4 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.041, allocations: 5.094 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.041, allocations: 1.062 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.041, allocations: 1.094 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/1.042, allocations: 13.19 kB / 1.224 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.042, allocations: 9.391 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/1.042, allocations: 7.656 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/1.042, allocations: 3.188 kB / 1.224 GB, free: 15.62 MB / 0.9356 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.0001327/1.042, allocations: 126.1 kB / 1.224 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/1.042, allocations: 7.641 kB / 1.224 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/1.042, allocations: 13.52 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.042, allocations: 0.9375 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/1.042, allocations: 0.875 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.042, allocations: 7.938 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/1.042, allocations: 382.3 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.042, allocations: 1.156 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/1.043, allocations: 3.438 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.043, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/1.043, allocations: 9.047 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.043, allocations: 5.281 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.043, allocations: 3.938 kB / 1.224 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/1.043, allocations: 205.5 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/1.043, allocations: 83.03 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/1.043, allocations: 5.047 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/1.043, allocations: 7 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/1.043, allocations: 10.11 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/1.043, allocations: 2.188 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.738e-05/1.043, allocations: 97.39 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.043, allocations: 0 / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003443/1.044, allocations: 35.97 kB / 1.224 GB, free: 14.71 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.0005094/1.044, allocations: 169.6 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002737/1.044, allocations: 72.27 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.044, allocations: 0 / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/1.044, allocations: 34.22 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/1.045, allocations: 8 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/1.045, allocations: 198.3 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/1.046, allocations: 0.6882 MB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.906e-05/1.046, allocations: 12.33 kB / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/1.046, allocations: 14.73 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/1.046, allocations: 0 / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.005865/1.052, allocations: 1.484 MB / 1.227 GB, free: 12.87 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.986465929076076]