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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 108.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003188/0.003188, allocations: 67.33 kB / 1.104 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3469, allocations: 168.7 MB / 1.269 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.004335/0.3512, allocations: 1.47 MB / 1.27 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3532, allocations: 0.7374 MB / 1.271 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.3532, allocations: 0 / 1.271 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.3533, allocations: 3.938 kB / 1.271 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.3534, allocations: 11.86 kB / 1.271 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/0.3542, allocations: 123.6 kB / 1.271 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.3544, allocations: 87.7 kB / 1.271 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3545, allocations: 7.953 kB / 1.271 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3546, allocations: 35.89 kB / 1.271 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3547, allocations: 39.84 kB / 1.271 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.3547, allocations: 11.94 kB / 1.271 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.3551, allocations: 107.8 kB / 1.271 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.3551, allocations: 15.98 kB / 1.271 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.3552, allocations: 31.8 kB / 1.271 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.3555, allocations: 139.8 kB / 1.271 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3555, allocations: 0 / 1.271 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3556, allocations: 4 kB / 1.271 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.3556, allocations: 4 kB / 1.271 GB, free: 10.04 MB / 0.9825 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.0009735/0.3565, allocations: 416.8 kB / 1.272 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3566, allocations: 12.03 kB / 1.272 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.252e-05/0.3567, allocations: 30.75 kB / 1.272 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.3567, allocations: 8.891 kB / 1.272 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.357, allocations: 184.2 kB / 1.272 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.357, allocations: 8.375 kB / 1.272 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.357, allocations: 4.375 kB / 1.272 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3573, allocations: 73.78 kB / 1.272 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3573, allocations: 0 / 1.272 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.3573, allocations: 7.984 kB / 1.272 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.3573, allocations: 4 kB / 1.272 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.3575, allocations: 35.97 kB / 1.272 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.3583, allocations: 312.7 kB / 1.273 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3585, allocations: 46.55 kB / 1.273 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3586, allocations: 32.97 kB / 1.273 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3587, allocations: 3.938 kB / 1.273 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.359, allocations: 87.44 kB / 1.273 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.359, allocations: 0 / 1.273 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005212/0.3595, allocations: 137.5 kB / 1.273 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.3595, allocations: 51.41 kB / 1.273 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3597, allocations: 129.8 kB / 1.273 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3597, allocations: 25.7 kB / 1.273 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.3598, allocations: 88.14 kB / 1.273 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.3598, allocations: 19.84 kB / 1.273 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.3599, allocations: 33.7 kB / 1.273 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3601, allocations: 322.8 kB / 1.273 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3602, allocations: 23.98 kB / 1.273 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3603, allocations: 46.55 kB / 1.274 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.3605, allocations: 78.8 kB / 1.274 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3605, allocations: 0 / 1.274 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003299/0.3608, allocations: 117.5 kB / 1.274 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3609, allocations: 4 kB / 1.274 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3609, allocations: 4 kB / 1.274 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3609, allocations: 3.938 kB / 1.274 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.361, allocations: 15.92 kB / 1.274 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.361, allocations: 4.062 kB / 1.274 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.3611, allocations: 7.984 kB / 1.274 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.3611, allocations: 8 kB / 1.274 GB, free: 7.445 MB / 0.9825 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 0.0001394/0.3613, allocations: 119.8 kB / 1.274 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.3613, allocations: 7.953 kB / 1.274 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.3614, allocations: 16.31 kB / 1.274 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3614, allocations: 0 / 1.274 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3614, allocations: 0 / 1.274 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3614, allocations: 7.984 kB / 1.274 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006756/0.3621, allocations: 382.3 kB / 1.274 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3621, allocations: 0 / 1.274 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.3621, allocations: 7.984 kB / 1.274 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3621, allocations: 0 / 1.274 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3621, allocations: 4 kB / 1.274 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3621, allocations: 3.938 kB / 1.274 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3621, allocations: 0 / 1.274 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.3625, allocations: 211.4 kB / 1.274 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.3626, allocations: 85.06 kB / 1.275 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.3626, allocations: 4 kB / 1.275 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3628, allocations: 11.92 kB / 1.275 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.3628, allocations: 8 kB / 1.275 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3628, allocations: 0 / 1.275 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.513e-05/0.3629, allocations: 91.92 kB / 1.275 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3629, allocations: 4 kB / 1.275 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005102/0.3634, allocations: 39.92 kB / 1.275 GB, free: 6.355 MB / 0.9825 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.001161/0.3646, allocations: 0.7996 MB / 1.275 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.3649, allocations: 79.86 kB / 1.276 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3649, allocations: 7.938 kB / 1.276 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.365, allocations: 27.92 kB / 1.276 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3654, allocations: 15.92 kB / 1.276 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.3679, allocations: 1.49 MB / 1.277 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/0.3685, allocations: 0.6961 MB / 1.278 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.424e-05/0.3685, allocations: 8 kB / 1.278 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.3686, allocations: 27.36 kB / 1.278 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/0.3686, allocations: 0 / 1.278 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.3996, allocations: 2.686 MB / 1.28 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/8.627, allocations: 11.92 kB / 1.28 GB, free: 0.543 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 15.107171082869172]