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.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: "" <> 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.00106/0.00106, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001002/0.001003, allocations: 191 kB / 16.25 MB, free: 6.645 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.455/2.455, allocations: 437.1 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6304/0.6317, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002249/0.634, allocations: 1.538 MB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.635, allocations: 0.7246 MB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.6351, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.6351, allocations: 3.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.6352, allocations: 7.875 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.6356, allocations: 115.8 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.6357, allocations: 83.72 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.6358, allocations: 7.984 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.6359, allocations: 35.91 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.636, allocations: 43.83 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.636, allocations: 4 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.6361, allocations: 99.84 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.6362, allocations: 15.92 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.6362, allocations: 35.86 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.6364, allocations: 134 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.6364, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6364, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6365, allocations: 4 kB / 1.02 GB, free: 15.99 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.0005179/0.637, allocations: 416.9 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.637, allocations: 12.03 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.6371, allocations: 34.75 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.6371, allocations: 12.84 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.124e-05/0.6372, allocations: 180.2 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.6372, allocations: 4.375 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.6372, allocations: 8.375 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.6374, allocations: 69.77 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6374, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.6374, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6374, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.6376, allocations: 39.97 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.6381, allocations: 316.7 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.6382, allocations: 50.55 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.6383, allocations: 28.97 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.6383, allocations: 7.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.6385, allocations: 83.36 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.6385, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000357/0.6389, allocations: 145.5 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.6389, allocations: 51.41 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.639, allocations: 125.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.639, allocations: 25.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.6391, allocations: 92.14 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.6391, allocations: 15.8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.6391, allocations: 25.72 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.6392, allocations: 322.8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.6393, allocations: 23.98 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.6394, allocations: 54.55 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.6396, allocations: 74.44 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6396, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.6398, allocations: 113.5 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6398, allocations: 9.562 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6398, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.6398, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.6399, allocations: 11.98 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6399, allocations: 3.938 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.64, allocations: 19.83 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.64, allocations: 4 kB / 1.022 GB, free: 13.39 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.005e-05/0.6401, allocations: 121.8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.6401, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.6402, allocations: 16.31 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6402, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.6402, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6402, allocations: 3.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.6406, allocations: 382.3 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6406, allocations: 3.984 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.6406, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.6406, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.6407, allocations: 4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6407, allocations: 3.938 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6407, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.6409, allocations: 203.9 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.641, allocations: 81.11 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.641, allocations: 8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.6411, allocations: 15.92 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.6411, allocations: 7.938 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.6411, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.6412, allocations: 91.27 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.6412, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000265/0.6415, allocations: 43.92 kB / 1.023 GB, free: 12.31 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.0006681/0.6421, allocations: 0.8137 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.6424, allocations: 71.89 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6424, allocations: 4.125 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.6425, allocations: 43.91 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.6427, allocations: 7.938 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.6441, allocations: 1.493 MB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.6443, allocations: 0.6846 MB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.6443, allocations: 7.984 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.6444, allocations: 23.44 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6444, allocations: 3.938 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.6556, allocations: 2.505 MB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.6558, allocations: 278.7 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.684, allocations: 0 / 1.029 GB, free: 6.34 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