Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001657/0.001657, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001945/0.001945, allocations: 202.7 kB / 22.18 MB, free: 5.207 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.458/1.458, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.819/2.819, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] 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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8999/0.9018, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003227/0.9051, allocations: 1.511 MB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.9066, allocations: 0.7378 MB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.9067, allocations: 3.938 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.9067, allocations: 11.86 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.9068, allocations: 11.86 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.9076, allocations: 127.5 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.9077, allocations: 75.84 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.9079, allocations: 15.94 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.908, allocations: 31.91 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.9081, allocations: 39.83 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.9081, allocations: 8 kB / 1.277 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.9084, allocations: 103.8 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.9084, allocations: 19.91 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.9085, allocations: 27.86 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.9088, allocations: 146.2 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9088, allocations: 4 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9088, allocations: 0 / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.9088, allocations: 0 / 1.277 GB, free: 1.66 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.000853/0.9097, allocations: 420.8 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.9097, allocations: 8.031 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.9098, allocations: 8.891 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.91, allocations: 172.3 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.91, allocations: 4.375 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.91, allocations: 12.38 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.9102, allocations: 69.95 kB / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.9102, allocations: 0 / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.9102, allocations: 3.938 kB / 1.278 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.9103, allocations: 4 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.9104, allocations: 39.91 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.9111, allocations: 316.8 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.9112, allocations: 42.56 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.9113, allocations: 28.97 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.9113, allocations: 4 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.9116, allocations: 79.31 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.664e-06/0.9116, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000465/0.912, allocations: 141.7 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.9121, allocations: 51.41 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.9122, allocations: 133.7 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.9123, allocations: 29.7 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.9123, allocations: 88.14 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.9124, allocations: 19.89 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.9124, allocations: 29.7 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.9126, allocations: 318.8 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.9127, allocations: 31.92 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.9128, allocations: 50.48 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.913, allocations: 78.84 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.913, allocations: 0 / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002549/0.9132, allocations: 113.5 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9132, allocations: 8 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.9132, allocations: 3.984 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.9133, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.9134, allocations: 15.88 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.9134, allocations: 8.062 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.9134, allocations: 7.984 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.9134, allocations: 0 / 1.279 GB, free: 15.12 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.000117/0.9136, allocations: 129.7 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.9136, allocations: 3.953 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.9136, allocations: 12.36 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9136, allocations: 3.984 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.9136, allocations: 4 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9136, allocations: 4 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.9141, allocations: 382.4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9141, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.9142, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.9142, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.9142, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.9142, allocations: 3.984 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9142, allocations: 3.938 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.9145, allocations: 211.4 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.9146, allocations: 85.06 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.9146, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.9147, allocations: 7.984 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.9147, allocations: 7.938 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.9147, allocations: 3.984 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.9148, allocations: 99.92 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9148, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003126/0.9151, allocations: 35.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.0004375/0.9156, allocations: 164.3 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.9158, allocations: 76.19 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9158, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.895e-05/0.9159, allocations: 28.08 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.9162, allocations: 8.156 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.9167, allocations: 200.2 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.9171, allocations: 0.6924 MB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.9171, 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.715e-05/0.9171, allocations: 15.44 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.9171, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.005181/0.9223, allocations: 1.468 MB / 1.283 GB, free: 11.33 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.993883792776614]