Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_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.007376/0.007376, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001667/0.001667, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.868/2.868, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 63.91 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3157, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002479/0.3182, allocations: 1.483 MB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3195, allocations: 0.7288 MB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.3196, allocations: 4 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.3196, allocations: 3.938 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.691e-05/0.3197, allocations: 15.81 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.3203, allocations: 127.6 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3204, allocations: 71.77 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.3205, allocations: 19.94 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.3206, allocations: 31.91 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.3207, allocations: 39.83 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3207, allocations: 8 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.3209, allocations: 99.84 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.321, allocations: 19.92 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.321, allocations: 31.86 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3213, allocations: 143.8 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3213, allocations: 0 / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3213, allocations: 0 / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.3213, allocations: 3.938 kB / 1.21 GB, free: 7.371 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.0006193/0.3219, allocations: 417 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.322, allocations: 12.62 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.322, allocations: 38.75 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.3221, allocations: 8.844 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3222, allocations: 180.2 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3222, allocations: 384 / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3222, allocations: 4.375 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3224, allocations: 77.72 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3224, allocations: 0 / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3225, allocations: 0 / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3225, allocations: 11.92 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3226, allocations: 39.97 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.3232, allocations: 316.7 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3233, allocations: 46.55 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.388e-05/0.3234, allocations: 36.97 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.3234, allocations: 0 / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.3236, allocations: 83.38 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3237, allocations: 4 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003974/0.3241, allocations: 125.6 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3241, allocations: 55.41 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.3242, allocations: 129.7 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3242, allocations: 29.7 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.3243, allocations: 84.14 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.3243, allocations: 19.75 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.3244, allocations: 33.64 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3245, allocations: 326.8 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.3246, allocations: 19.98 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.111e-05/0.3247, allocations: 54.55 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3248, allocations: 70.86 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3248, allocations: 0 / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002446/0.3251, allocations: 121.5 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3251, allocations: 7.938 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3251, allocations: 3.938 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3252, allocations: 4 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3253, allocations: 11.98 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3253, allocations: 0 / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/0.3254, allocations: 8 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3254, allocations: 7.984 kB / 1.212 GB, free: 4.773 MB / 0.9669 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.905e-05/0.3255, allocations: 121.8 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.3255, allocations: 7.906 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.3255, allocations: 8.375 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3255, allocations: 3.938 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3255, allocations: 3.938 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3256, allocations: 4 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.326, allocations: 378.4 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.326, allocations: 0 / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.3261, allocations: 11.98 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3261, allocations: 0 / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3261, allocations: 0 / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3261, allocations: 3.938 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3261, allocations: 0 / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.3264, allocations: 215.3 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.3265, allocations: 81.02 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3265, allocations: 8 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.3266, allocations: 11.92 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.3266, allocations: 8 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3267, allocations: 4 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.3267, allocations: 91.27 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3267, allocations: 0 / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003307/0.3271, allocations: 39.98 kB / 1.213 GB, free: 3.688 MB / 0.9669 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.0008337/0.3279, allocations: 0.8118 MB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3282, allocations: 79.86 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3282, allocations: 4.125 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.3283, allocations: 35.98 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3286, allocations: 14.36 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.3302, allocations: 1.49 MB / 1.216 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3305, allocations: 0.6885 MB / 1.216 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.3305, allocations: 0 / 1.216 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.3306, allocations: 23.42 kB / 1.216 GB, free: 420 kB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3306, allocations: 0 / 1.216 GB, free: 420 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.3501, allocations: 2.688 MB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.766, allocations: 8.281 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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