Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_11_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.005016/0.005016, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001312/0.001312, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.372/2.372, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 67.83 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6091, allocations: 159.1 MB / 1.22 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.00238/0.6116, allocations: 1.472 MB / 1.222 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.6127, allocations: 0.7293 MB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.6128, allocations: 0 / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.6128, allocations: 3.938 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.6128, allocations: 15.88 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.6133, allocations: 119.6 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.6134, allocations: 83.75 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.451e-05/0.6135, allocations: 19.94 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.6136, allocations: 39.84 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.6137, allocations: 39.83 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.6137, allocations: 8 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.6139, allocations: 91.91 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.6139, allocations: 15.98 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.614, allocations: 31.8 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.6142, allocations: 147.2 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6142, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6142, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.6142, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9512 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.0005548/0.6148, allocations: 424.7 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.6148, allocations: 8.031 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.6148, allocations: 38.75 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.6149, allocations: 8.828 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.615, allocations: 176.3 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.615, allocations: 8.375 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.615, allocations: 4.375 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.6152, allocations: 73.72 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6152, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.6153, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6153, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.6154, allocations: 43.97 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.6159, allocations: 308.7 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.6161, allocations: 62.42 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.6162, allocations: 32.97 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.6162, allocations: 4 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.6164, allocations: 75.44 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.6164, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003663/0.6167, allocations: 141.8 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.6168, allocations: 55.41 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.6169, allocations: 125.8 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.6169, allocations: 29.7 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.617, allocations: 88.14 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.617, allocations: 11.91 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.6171, allocations: 29.7 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6172, allocations: 326.8 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.6173, allocations: 27.98 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.6174, allocations: 54.98 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.6175, allocations: 74.55 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6175, allocations: 4 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002314/0.6178, allocations: 105.5 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.6178, allocations: 12.06 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.6178, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.6178, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.6179, allocations: 19.98 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.6179, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.618, allocations: 7.938 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.618, allocations: 7.984 kB / 1.225 GB, free: 12.7 MB / 0.9512 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.648e-05/0.6181, allocations: 128.2 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.6181, allocations: 11.95 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.6181, allocations: 8.375 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6182, allocations: 0 / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6182, allocations: 0 / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.6182, allocations: 0 / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.6186, allocations: 386.4 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6186, allocations: 3.938 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.6187, allocations: 11.92 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6187, allocations: 4 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.6187, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6187, allocations: 3.938 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.6187, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.619, allocations: 203.5 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.619, allocations: 85.06 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.6191, allocations: 4 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.6192, allocations: 11.92 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.6192, allocations: 4 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-06/0.6192, allocations: 3.984 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.6193, allocations: 99.42 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6193, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002645/0.6195, allocations: 43.86 kB / 1.226 GB, free: 11.6 MB / 0.9512 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.0007501/0.6203, allocations: 0.8135 MB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.6205, allocations: 71.83 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6205, allocations: 0 / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.6206, allocations: 40.11 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.6209, allocations: 14.27 kB / 1.227 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.6224, allocations: 1.493 MB / 1.228 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.6226, allocations: 0.6923 MB / 1.229 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.6227, allocations: 4 kB / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.6227, allocations: 23.42 kB / 1.229 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.6227, allocations: 0 / 1.229 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.541/8.164, allocations: 2.659 MB / 1.232 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.133/17.3, allocations: 14.48 kB / 1.232 GB, free: 5.801 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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