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.001193/0.001193, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001232/0.001232, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.348 MB / 190.1 MB " [Timeout remaining time 179] 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.492/2.492, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 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.001733/0.001733, allocations: 71.88 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8291/0.8309, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002176/0.833, allocations: 1.503 MB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.8341, allocations: 0.7422 MB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.8341, allocations: 3.938 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.8341, allocations: 5.922 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.8342, allocations: 10.75 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.8347, allocations: 124.6 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.8348, allocations: 77.67 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.216e-05/0.8348, allocations: 9.484 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.8349, allocations: 37.16 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.835, allocations: 41.03 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.835, allocations: 6.875 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.8352, allocations: 99.02 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.8352, allocations: 22.77 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.8352, allocations: 40.72 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.8354, allocations: 140.9 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8354, allocations: 4 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8354, allocations: 0.8438 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.8354, allocations: 0 / 1.274 GB, free: 5.941 MB / 0.9981 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.0004938/0.8359, allocations: 417.2 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.836, allocations: 11.7 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.836, allocations: 36.44 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.836, allocations: 8.266 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.751e-05/0.8361, allocations: 173.7 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.8361, allocations: 7.656 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.8361, allocations: 7.938 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.8363, allocations: 73.5 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.8363, allocations: 0 / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.8363, allocations: 0 / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8363, allocations: 1.469 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.8364, allocations: 37.59 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.8369, allocations: 324.7 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.837, allocations: 46.73 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.8371, allocations: 28.25 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.8371, allocations: 0.9375 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.8372, allocations: 81.75 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.8372, allocations: 0.8438 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003505/0.8376, allocations: 137 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.8376, allocations: 53.38 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.8377, allocations: 123.1 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.8377, allocations: 31.17 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.8377, allocations: 92.3 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.8377, allocations: 18.97 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.8378, allocations: 25.52 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.8378, allocations: 323.5 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.8379, allocations: 31.95 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.838, allocations: 45.56 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.8381, allocations: 77.03 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8381, allocations: 0.7812 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000209/0.8383, allocations: 111.7 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8383, allocations: 8.609 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8384, allocations: 0.875 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8384, allocations: 1.844 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.8385, allocations: 20.06 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8385, allocations: 9.109 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.8385, allocations: 8.031 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.8385, allocations: 7.312 kB / 1.276 GB, free: 3.91 MB / 0.9981 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 5.521e-05/0.8386, allocations: 120.6 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.8386, allocations: 11.53 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.8386, allocations: 12.33 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8386, allocations: 0.7812 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.8386, allocations: 4 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.8386, allocations: 1.062 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.839, allocations: 387.5 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.839, allocations: 0 / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.839, allocations: 5.438 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.839, allocations: 0 / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.839, allocations: 1.828 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.839, allocations: 5.094 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.839, allocations: 1.922 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.8393, allocations: 210.5 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.8393, allocations: 81.73 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.8393, allocations: 1.062 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.8394, allocations: 6.906 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.8394, allocations: 8.719 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.8394, allocations: 3.156 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.8395, allocations: 104.9 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8395, allocations: 0 / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002766/0.8397, allocations: 42.64 kB / 1.277 GB, free: 3.051 MB / 0.9981 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.0005949/0.8403, allocations: 0.8033 MB / 1.278 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.8405, allocations: 66.09 kB / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8405, allocations: 0 / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.8406, allocations: 34.92 kB / 1.278 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.8409, allocations: 15.36 kB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.8422, allocations: 1.513 MB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.8424, allocations: 0.6932 MB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.8425, allocations: 4.703 kB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.8425, allocations: 21.2 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.8425, allocations: 0 / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.8674, allocations: 2.646 MB / 1.283 GB, free: 15.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.888, allocations: 13.98 kB / 1.283 GB, free: 15.74 MB / 1.014 GB " [Timeout remaining time 292] (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) [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/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: 13.140132628001084]