Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005269/0.005269, allocations: 99.73 kB / 15.73 MB, free: 6.043 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.001213/0.001213, allocations: 194.5 kB / 16.68 MB, free: 5.961 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.9504 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8907/0.8921, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002486/0.8946, allocations: 1.486 MB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.8958, allocations: 0.7161 MB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.8959, allocations: 1.219 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.8959, allocations: 5.203 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.896, allocations: 14.59 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.8965, allocations: 128.9 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.8967, allocations: 77.14 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.8968, allocations: 11.88 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.8969, allocations: 35.61 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.897, allocations: 36.34 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.897, allocations: 6.531 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.8972, allocations: 98.78 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.8972, allocations: 23.44 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.8973, allocations: 27.81 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.8976, allocations: 141 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8976, allocations: 7.938 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8976, allocations: 1.469 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.8976, allocations: 0 / 1.09 GB, free: 3.512 MB / 0.8575 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.0005877/0.8982, allocations: 418.1 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.8982, allocations: 9.75 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.8983, allocations: 41.28 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.8983, allocations: 8.469 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.633e-05/0.8984, allocations: 170.2 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.8984, allocations: 6.781 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.8985, allocations: 4.672 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.8986, allocations: 75.84 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8987, allocations: 1.219 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.8987, allocations: 0.75 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.8987, allocations: 1 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.8988, allocations: 40.19 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.8994, allocations: 318.3 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.8995, allocations: 49.83 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.8996, allocations: 36.22 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.8996, allocations: 1.688 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.8998, allocations: 76.83 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/0.8998, allocations: 3.984 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004127/0.9003, allocations: 141.9 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.9003, allocations: 53.41 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.9004, allocations: 126.6 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.9004, allocations: 33.19 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.9005, allocations: 91.84 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.9005, allocations: 14.72 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.9005, allocations: 29.5 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.9006, allocations: 318.9 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.9007, allocations: 28.25 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.9008, allocations: 58 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.9009, allocations: 68.14 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.901, allocations: 0.7188 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002339/0.9012, allocations: 117.5 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.9012, allocations: 5.312 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.9012, allocations: 0.9062 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9012, allocations: 1.594 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.9014, allocations: 15.25 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.9014, allocations: 6.578 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.9014, allocations: 12.61 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.9015, allocations: 7.781 kB / 1.092 GB, free: 1.473 MB / 0.8575 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 7.04e-05/0.9015, allocations: 123.5 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.9016, allocations: 11.53 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.9016, allocations: 7.031 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.9016, allocations: 1.094 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.9016, allocations: 1.094 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.9016, allocations: 0.7969 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.902, allocations: 378.2 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.902, allocations: 3.938 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.9021, allocations: 9.656 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.9021, allocations: 1.641 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.9021, allocations: 1.609 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9021, allocations: 4.719 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.9021, allocations: 0.5156 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.9024, allocations: 216 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.9024, allocations: 83.36 kB / 1.093 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.9024, allocations: 5.781 kB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.9025, allocations: 8.062 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.9026, allocations: 8.719 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.9026, allocations: 7.453 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.9026, allocations: 91.84 kB / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9026, allocations: 1.125 kB / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002986/0.9029, allocations: 42.11 kB / 1.093 GB, free: 0.6172 MB / 0.8575 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.000725/0.9037, allocations: 0.7976 MB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.9039, allocations: 68.5 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9039, allocations: 4.125 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.9041, allocations: 41.27 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.9043, allocations: 10.98 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.906, allocations: 1.501 MB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.9062, allocations: 0.6905 MB / 1.096 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.077e-05/0.9063, allocations: 9.531 kB / 1.096 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.9064, allocations: 20.84 kB / 1.096 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.9064, allocations: 0 / 1.096 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.277/2.184, allocations: 2.643 MB / 1.099 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/10.28, allocations: 11.33 kB / 1.099 GB, free: 13.36 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed