Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_10_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.001228/0.001228, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01069/0.01069, allocations: 175.3 kB / 16.27 MB, free: 6.613 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.541/1.541, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003105, allocations: 8 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5285, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001392/0.53, allocations: 1.199 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.531, allocations: 0.7209 MB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.5311, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.5311, allocations: 3.938 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.5312, allocations: 11.92 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.5316, allocations: 103.8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.5317, allocations: 71.78 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.886e-05/0.5318, allocations: 8 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.5318, allocations: 39.83 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.5319, allocations: 31.84 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.5319, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.5321, allocations: 91.91 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.5321, allocations: 15.91 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.5322, allocations: 53.56 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.5324, allocations: 137.8 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5324, allocations: 3.938 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5324, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.5324, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.7794 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.0004879/0.5329, allocations: 409 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.5329, allocations: 12.03 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.533, allocations: 38.75 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.533, allocations: 8.844 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.615e-05/0.5331, allocations: 172.3 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5331, allocations: 8.375 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.5331, allocations: 384 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.5333, allocations: 85.7 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.5333, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5333, allocations: 3.984 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5333, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.5335, allocations: 47.97 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.534, allocations: 320.6 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.5341, allocations: 54.5 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.5342, allocations: 40.95 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.5342, allocations: 3.938 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.5344, allocations: 79.38 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.5344, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003662/0.5348, allocations: 145.7 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.5348, allocations: 59.34 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.5349, allocations: 129.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.535, allocations: 29.7 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.535, allocations: 88.14 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.535, allocations: 15.81 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.5351, allocations: 21.7 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.5352, allocations: 318.8 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.5352, allocations: 31.97 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.83e-05/0.5353, allocations: 54.56 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.5355, allocations: 82.78 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5355, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002283/0.5357, allocations: 121.5 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.5358, allocations: 8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5358, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.5358, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.5359, allocations: 19.98 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.5359, allocations: 0 / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.5359, allocations: 7.938 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.536, allocations: 8.062 kB / 1.028 GB, free: 10.66 MB / 0.7794 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.183e-05/0.5361, allocations: 121.7 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.5361, allocations: 15.83 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.5361, allocations: 12.38 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5361, allocations: 3.938 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5361, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5361, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.5365, allocations: 382.5 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5365, allocations: 4 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.5366, allocations: 7.938 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5366, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.5366, allocations: 3.984 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.5366, allocations: 3.938 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5366, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.5369, allocations: 215.4 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.5369, allocations: 85.02 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.5369, allocations: 11.98 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.537, allocations: 7.938 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.5371, allocations: 7.984 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.5371, allocations: 4 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.5371, allocations: 95.27 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5371, allocations: 0 / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002655/0.5374, allocations: 39.94 kB / 1.029 GB, free: 9.551 MB / 0.7794 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.000662/0.5381, allocations: 0.8106 MB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.5383, allocations: 91.92 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5383, allocations: 0 / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.5384, allocations: 35.98 kB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.5386, allocations: 11.94 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.54, allocations: 1.524 MB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.5402, allocations: 0.6887 MB / 1.032 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.5403, allocations: 4 kB / 1.032 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.5403, allocations: 23.42 kB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.5403, allocations: 0 / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.612/2.153, allocations: 2.334 MB / 1.034 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004662/2.153, allocations: 267 kB / 1.034 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/4.627, allocations: 0 / 1.034 GB, free: 3.723 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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