Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 119.6 kB / 16.81 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 199.1 kB / 17.77 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 62.62 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3074, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002714/0.3101, allocations: 1.486 MB / 1.263 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3115, allocations: 0.7411 MB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.3115, allocations: 0 / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.3115, allocations: 7.875 kB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.45e-05/0.3116, allocations: 3.938 kB / 1.264 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.3121, allocations: 127.5 kB / 1.264 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3122, allocations: 79.77 kB / 1.264 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.996e-05/0.3123, allocations: 15.94 kB / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.3124, allocations: 31.91 kB / 1.264 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.3125, allocations: 47.77 kB / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.3125, allocations: 8 kB / 1.265 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.3127, allocations: 99.89 kB / 1.265 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.3127, allocations: 7.984 kB / 1.265 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.3128, allocations: 31.86 kB / 1.265 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.313, allocations: 151.4 kB / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.313, allocations: 0 / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.313, allocations: 0 / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.313, allocations: 4 kB / 1.265 GB, free: 10.15 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.0006714/0.3137, allocations: 420.7 kB / 1.265 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3137, allocations: 8.625 kB / 1.265 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.3138, allocations: 12.89 kB / 1.265 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3139, allocations: 176.3 kB / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.314, allocations: 4.375 kB / 1.265 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.314, allocations: 4.375 kB / 1.265 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3142, allocations: 73.97 kB / 1.265 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3142, allocations: 0 / 1.265 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3142, allocations: 0 / 1.265 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3142, allocations: 7.938 kB / 1.265 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3143, allocations: 35.97 kB / 1.265 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.3149, allocations: 312.8 kB / 1.266 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3151, allocations: 46.56 kB / 1.266 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.3152, allocations: 28.95 kB / 1.266 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3152, allocations: 4 kB / 1.266 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.3154, allocations: 79.31 kB / 1.266 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3154, allocations: 0 / 1.266 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004134/0.3158, allocations: 141.6 kB / 1.266 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3158, allocations: 51.41 kB / 1.266 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3159, allocations: 133.7 kB / 1.266 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.316, allocations: 25.7 kB / 1.266 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.316, allocations: 100.1 kB / 1.266 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3161, allocations: 19.91 kB / 1.266 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.3161, allocations: 29.7 kB / 1.266 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3163, allocations: 330.7 kB / 1.267 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.3163, allocations: 23.98 kB / 1.267 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3164, allocations: 46.56 kB / 1.267 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3166, allocations: 70.55 kB / 1.267 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3166, allocations: 4 kB / 1.267 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002387/0.3168, allocations: 109.5 kB / 1.267 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3169, allocations: 10.03 kB / 1.267 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3169, allocations: 3.938 kB / 1.267 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3169, allocations: 0 / 1.267 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.317, allocations: 11.98 kB / 1.267 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.317, allocations: 4 kB / 1.267 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.317, allocations: 8 kB / 1.267 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.3171, allocations: 4.453 kB / 1.267 GB, free: 7.609 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.0001142/0.3172, allocations: 126.6 kB / 1.267 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.3172, allocations: 3.953 kB / 1.267 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.3172, allocations: 12.38 kB / 1.267 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3172, allocations: 0 / 1.267 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3172, allocations: 4 kB / 1.267 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.3173, allocations: 85 kB / 1.267 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3173, allocations: 7.984 kB / 1.267 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.265e-05/0.3174, allocations: 11.92 kB / 1.267 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.3174, allocations: 11.98 kB / 1.267 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003074/0.3177, allocations: 192.8 kB / 1.267 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003289/0.318, allocations: 278.7 kB / 1.268 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001001/0.3181, allocations: 39.91 kB / 1.268 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.3182, allocations: 87.28 kB / 1.268 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of Backend: time 2.91e-07/0.3182, allocations: 0 / 1.268 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.3189, allocations: 176.9 kB / 1.268 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005516/0.3194, allocations: 0.6261 MB / 1.269 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of Templates: time 0.004559/0.324, allocations: 1.516 MB / 1.27 GB, free: 4.359 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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