Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 113.9 kB / 16.42 MB, free: 6.441 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.001578/0.001578, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7111, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002421/0.7136, allocations: 1.485 MB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.7148, allocations: 0.7245 MB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.7148, allocations: 3.938 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.7149, allocations: 7.938 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.7149, allocations: 11.88 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.7154, allocations: 123.6 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.7156, allocations: 75.77 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.7157, allocations: 15.98 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.7157, allocations: 31.86 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.7158, allocations: 47.81 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.7158, allocations: 8 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.716, allocations: 87.92 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.7161, allocations: 19.97 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.7161, allocations: 39.73 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.7163, allocations: 147.4 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7164, allocations: 0 / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7164, allocations: 0 / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7164, allocations: 0 / 1.17 GB, free: 1.027 MB / 0.8887 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.0005637/0.7169, allocations: 418.8 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.717, allocations: 8.031 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.717, allocations: 8.844 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.7171, allocations: 172.3 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.7172, allocations: 4.375 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.7172, allocations: 4.375 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.7174, allocations: 73.91 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7174, allocations: 0 / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.7174, allocations: 3.984 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.7174, allocations: 4 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7175, allocations: 39.98 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.7181, allocations: 312.7 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.7183, allocations: 46.56 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.7184, allocations: 40.91 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.7184, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.7185, allocations: 75.38 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.905e-06/0.7186, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003815/0.7189, allocations: 145.5 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.719, allocations: 63.39 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/0.7191, allocations: 121.8 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.7191, allocations: 33.64 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.7192, allocations: 92.12 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.7192, allocations: 11.81 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.7192, allocations: 25.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.7193, allocations: 322.8 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.7194, allocations: 31.98 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.7195, allocations: 46.55 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.7197, allocations: 74.48 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7197, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002329/0.7199, allocations: 117.5 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.72, allocations: 4 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.72, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.72, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.7201, allocations: 12 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.7201, allocations: 3.984 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.7202, allocations: 7.938 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.7202, allocations: 7.938 kB / 1.172 GB, free: 14.49 MB / 0.9044 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 8.546e-05/0.7203, allocations: 123.5 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.7203, allocations: 11.84 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.7203, allocations: 16.34 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7204, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7204, allocations: 4 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.7204, allocations: 84.95 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.7204, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.7205, allocations: 15.92 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.7205, allocations: 4 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002761/0.7208, allocations: 188.9 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002915/0.7211, allocations: 282.7 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.49e-05/0.7212, allocations: 27.98 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.7213, allocations: 99.27 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of Backend: time 3.31e-07/0.7213, allocations: 4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006537/0.722, allocations: 178.8 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004568/0.7224, allocations: 0.6221 MB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.003989/0.7264, allocations: 1.505 MB / 1.175 GB, free: 11.25 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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