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.001402/0.001402, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.497/2.497, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 55.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5094, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002277/0.5117, allocations: 1.475 MB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.5128, allocations: 0.7284 MB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.5128, allocations: 11.94 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.5128, allocations: 3.938 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.5129, allocations: 11.86 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.5134, allocations: 119.6 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.993e-05/0.5135, allocations: 79.75 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.323e-05/0.5136, allocations: 8 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.5136, allocations: 39.86 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.5137, allocations: 39.94 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.5137, allocations: 8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.5139, allocations: 95.78 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.5139, allocations: 15.92 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.514, allocations: 31.86 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.5142, allocations: 149.8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.5142, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5142, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.5142, allocations: 3.938 kB / 1.02 GB, free: 15.66 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.0005176/0.5147, allocations: 424.8 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.5148, allocations: 8.031 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.5148, allocations: 38.75 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.5148, allocations: 8.844 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.5149, allocations: 168.4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.515, allocations: 384 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.515, allocations: 4.375 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.5152, allocations: 73.78 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.5152, allocations: 7.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.5152, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5152, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.5153, allocations: 35.97 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.5158, allocations: 328.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.516, allocations: 46.56 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.318e-05/0.5161, allocations: 40.91 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.5161, allocations: 3.984 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.5163, allocations: 79.33 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.5163, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003567/0.5166, allocations: 137.5 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.5167, allocations: 59.41 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.5168, allocations: 117.8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.5168, allocations: 33.62 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.5168, allocations: 88.14 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.5168, allocations: 15.88 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.5169, allocations: 29.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.517, allocations: 330.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.5171, allocations: 19.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.5172, allocations: 46.56 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.5173, allocations: 78.48 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5173, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002236/0.5176, allocations: 117.8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.5176, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5176, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5176, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.5177, allocations: 11.98 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5177, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.5178, allocations: 15.84 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5178, allocations: 8.062 kB / 1.022 GB, free: 13.07 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 7.677e-05/0.5179, allocations: 127 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.5179, allocations: 7.938 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.5179, allocations: 8.375 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5179, allocations: 7.875 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5179, allocations: 4 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5179, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.5183, allocations: 382.4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5183, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.5184, allocations: 7.984 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5184, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.5184, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.5184, allocations: 7.875 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5184, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.5187, allocations: 207.5 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.5187, allocations: 81.02 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.5187, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.5188, allocations: 7.938 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.5189, allocations: 7.984 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.5189, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.5189, allocations: 91.92 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5189, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002744/0.5192, allocations: 47.92 kB / 1.023 GB, free: 11.98 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.0006347/0.5199, allocations: 0.8057 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.5201, allocations: 75.89 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5201, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.5202, allocations: 32.45 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.5204, allocations: 15.92 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.5218, allocations: 1.486 MB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.522, allocations: 0.6924 MB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.522, allocations: 4 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.5221, allocations: 24.3 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of SimCode: time 1.333e-06/0.5221, allocations: 0 / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.88/2.402, allocations: 2.619 MB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/11.02, allocations: 8.703 kB / 1.029 GB, free: 6.227 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