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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 106.5 kB / 16.45 MB, free: 6.488 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.001562/0.001562, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.496/1.496, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.89 kB / 1.056 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8903/0.8922, allocations: 160.7 MB / 1.213 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003477/0.8957, allocations: 1.485 MB / 1.214 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.8973, allocations: 0.7396 MB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.8974, allocations: 1.125 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.8975, allocations: 3.938 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.8975, allocations: 8.844 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007619/0.8983, allocations: 126.5 kB / 1.215 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.8985, allocations: 75.42 kB / 1.215 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.8986, allocations: 7.406 kB / 1.215 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.8987, allocations: 41.42 kB / 1.215 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.8988, allocations: 44.12 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.8988, allocations: 6.688 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.8991, allocations: 107.3 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.8991, allocations: 15.08 kB / 1.215 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.8992, allocations: 35.33 kB / 1.215 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.8995, allocations: 140.4 kB / 1.216 GB, free: 1.797 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8995, allocations: 3.984 kB / 1.216 GB, free: 1.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8995, allocations: 1.094 kB / 1.216 GB, free: 1.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8995, allocations: 0 / 1.216 GB, free: 1.793 MB / 0.92 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.0007793/0.9003, allocations: 423.7 kB / 1.216 GB, free: 1.355 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.9003, allocations: 9.781 kB / 1.216 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.078e-05/0.9004, allocations: 40.92 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.9004, allocations: 8.328 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.9006, allocations: 175.3 kB / 1.216 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.9006, allocations: 3.531 kB / 1.216 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.9006, allocations: 8.312 kB / 1.216 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.9008, allocations: 71.62 kB / 1.216 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.9008, allocations: 0 / 1.216 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.9009, allocations: 5.219 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.9009, allocations: 1.25 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.901, allocations: 35.66 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.9017, allocations: 314.1 kB / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.9018, allocations: 54.27 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.9019, allocations: 34.72 kB / 1.217 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.902, allocations: 1.25 kB / 1.217 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.9022, allocations: 80.3 kB / 1.217 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.9022, allocations: 1.281 kB / 1.217 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004485/0.9026, allocations: 143.9 kB / 1.217 GB, free: 472 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.9027, allocations: 53.56 kB / 1.217 GB, free: 408 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.9028, allocations: 120.7 kB / 1.217 GB, free: 292 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.9029, allocations: 30.77 kB / 1.217 GB, free: 256 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.903, allocations: 90.31 kB / 1.217 GB, free: 164 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.903, allocations: 19.17 kB / 1.217 GB, free: 148 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.903, allocations: 21.62 kB / 1.217 GB, free: 128 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.9032, allocations: 325 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.9033, allocations: 30.86 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.9034, allocations: 52.3 kB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.9036, allocations: 78.44 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9036, allocations: 0 / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002547/0.9039, allocations: 113.4 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.9039, allocations: 7.5 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.9039, allocations: 5.094 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.9039, allocations: 5.172 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.904, allocations: 8.219 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.904, allocations: 1.547 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.9041, allocations: 12.48 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.9041, allocations: 6.438 kB / 1.218 GB, free: 15.6 MB / 0.9356 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.0001067/0.9042, allocations: 123.3 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.9042, allocations: 11.14 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.9043, allocations: 9.438 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.9043, allocations: 5.109 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9043, allocations: 1.188 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9043, allocations: 0 / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.9048, allocations: 394.1 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9048, allocations: 1.125 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.9048, allocations: 3.25 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.9048, allocations: 1.156 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.9048, allocations: 0 / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.9048, allocations: 5.062 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.9048, allocations: 3.984 kB / 1.218 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.9052, allocations: 206.3 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.9052, allocations: 82.62 kB / 1.219 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.9052, allocations: 4.75 kB / 1.219 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.886e-05/0.9053, allocations: 10.92 kB / 1.219 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.9054, allocations: 7.219 kB / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.9054, allocations: 6.141 kB / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.9055, allocations: 92 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9055, allocations: 0 / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003374/0.9058, allocations: 40.17 kB / 1.219 GB, free: 14.68 MB / 0.9356 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.0009485/0.9067, allocations: 0.8024 MB / 1.22 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.907, allocations: 75.2 kB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.907, allocations: 0 / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.9071, allocations: 38.09 kB / 1.22 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.9074, allocations: 12.62 kB / 1.22 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.9093, allocations: 1.501 MB / 1.221 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.9096, allocations: 0.6883 MB / 1.222 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.227e-05/0.9096, allocations: 10.52 kB / 1.222 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.9097, allocations: 23.52 kB / 1.222 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/0.9097, allocations: 4 kB / 1.222 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.938, allocations: 2.674 MB / 1.225 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/9.215, allocations: 13.3 kB / 1.225 GB, free: 10.38 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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.069295648951083]