Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_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.0008071/0.0008071, 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.005343/0.005343, allocations: 172.1 kB / 16.26 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.5173, allocations: 142.4 MB / 0.9552 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001042/0.5184, allocations: 1.193 MB / 0.9563 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008159/0.5192, allocations: 0.7147 MB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.5193, allocations: 3.938 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.5193, allocations: 0 / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.5193, allocations: 14.22 kB / 0.957 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.5197, allocations: 112.5 kB / 0.9572 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.407e-05/0.5197, allocations: 71.06 kB / 0.9572 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.072e-05/0.5198, allocations: 17.09 kB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.5199, allocations: 29.23 kB / 0.9573 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.5199, allocations: 39.27 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.52, allocations: 4.062 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.5201, allocations: 88.84 kB / 0.9574 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.5201, allocations: 10.42 kB / 0.9574 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.5202, allocations: 58.61 kB / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.5203, allocations: 140.5 kB / 0.9576 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5203, allocations: 0 / 0.9576 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5203, allocations: 0 / 0.9576 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.5203, allocations: 0 / 0.9576 GB, free: 5.719 MB / 0.7169 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.0003658/0.5207, allocations: 409 kB / 0.958 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.5207, allocations: 9.562 kB / 0.958 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.495e-05/0.5208, allocations: 36.5 kB / 0.958 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.5208, allocations: 13 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.381e-05/0.5208, allocations: 174.9 kB / 0.9582 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5209, allocations: 3.125 kB / 0.9582 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.5209, allocations: 5 kB / 0.9582 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.521, allocations: 74.19 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-06/0.521, allocations: 0 / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.5211, allocations: 1.25 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.5211, allocations: 1.25 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.5212, allocations: 45.97 kB / 0.9583 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.5216, allocations: 325.7 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.5217, allocations: 55.11 kB / 0.9587 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.5218, allocations: 34.97 kB / 0.9587 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.5218, allocations: 1.062 kB / 0.9587 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.5219, allocations: 87.19 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.5219, allocations: 1.188 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003047/0.5223, allocations: 145.5 kB / 0.959 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.5223, allocations: 53.31 kB / 0.959 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.438e-05/0.5223, allocations: 135.8 kB / 0.9591 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.5224, allocations: 26.77 kB / 0.9592 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.5224, allocations: 91.42 kB / 0.9592 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.5224, allocations: 13.72 kB / 0.9593 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.5224, allocations: 26.3 kB / 0.9593 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.103e-05/0.5225, allocations: 324.3 kB / 0.9596 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.5225, allocations: 25.89 kB / 0.9596 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.5226, allocations: 50.09 kB / 0.9597 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.5228, allocations: 79.83 kB / 0.9597 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.5228, allocations: 4 kB / 0.9597 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001888/0.523, allocations: 118.7 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.523, allocations: 6.312 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.523, allocations: 1.781 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.523, allocations: 1.812 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.5231, allocations: 16.86 kB / 0.9599 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.5231, allocations: 5.844 kB / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.5232, allocations: 12.47 kB / 0.9599 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.5232, allocations: 2.75 kB / 0.9599 GB, free: 3.539 MB / 0.7169 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 4.907e-05/0.5232, allocations: 119.3 kB / 0.96 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.5232, allocations: 10.64 kB / 0.96 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.5233, allocations: 9.75 kB / 0.96 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5233, allocations: 1.375 kB / 0.96 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.5233, allocations: 4 kB / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5233, allocations: 0 / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.5236, allocations: 386.2 kB / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5236, allocations: 0 / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.5236, allocations: 4.125 kB / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5236, allocations: 5.359 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5237, allocations: 12 kB / 0.9604 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5237, allocations: 5.312 kB / 0.9604 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5237, allocations: 0 / 0.9604 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.5239, allocations: 219.8 kB / 0.9606 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.5239, allocations: 86.38 kB / 0.9607 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.5239, allocations: 9.312 kB / 0.9607 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.524, allocations: 12.06 kB / 0.9607 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.524, allocations: 6.734 kB / 0.9608 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.524, allocations: 1.375 kB / 0.9608 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.5241, allocations: 92.89 kB / 0.9608 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5241, allocations: 3.938 kB / 0.9608 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002398/0.5243, allocations: 40.81 kB / 0.9609 GB, free: 2.617 MB / 0.7169 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.0004811/0.5248, allocations: 0.804 MB / 0.9617 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.525, allocations: 82.64 kB / 0.9618 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.525, allocations: 0 / 0.9618 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.5251, allocations: 39.3 kB / 0.9618 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.5253, allocations: 10.69 kB / 0.9618 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.5263, allocations: 1.526 MB / 0.9633 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.5265, allocations: 0.6931 MB / 0.964 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.5265, allocations: 3.094 kB / 0.964 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.5266, allocations: 23.48 kB / 0.964 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.5266, allocations: 0 / 0.964 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.09/1.616, allocations: 2.337 MB / 0.9663 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/1.617, allocations: 272.5 kB / 0.9665 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/3.184, allocations: 3.938 kB / 0.9665 GB, free: 14.25 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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