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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008426/0.0008426, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9154/0.9154, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.764e-06/1.764e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.613e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.00305/0.003076, allocations: 1.498 MB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.004677, allocations: 0.7639 MB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.00476, allocations: 0 / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.004798, allocations: 3.938 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.004865, allocations: 27.78 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.005554, allocations: 139.5 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.005673, allocations: 83.7 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.005771, allocations: 4.188 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.005937, allocations: 63.75 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.005994, allocations: 27.95 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.006015, allocations: 4 kB / 0.953 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.006231, allocations: 139.7 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.006252, allocations: 19.92 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.006289, allocations: 31.91 kB / 0.9532 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.006513, allocations: 167.5 kB / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.006519, allocations: 4 kB / 0.9534 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.492e-06/0.00652, allocations: 3.938 kB / 0.9534 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.006525, allocations: 0 / 0.9534 GB, free: 0.5234 MB / 0.9011 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.0004984/0.007023, allocations: 347.5 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.007061, allocations: 8.031 kB / 0.9537 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.103e-05/0.007092, allocations: 34.75 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.007273, allocations: 40.86 kB / 0.9538 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.007506, allocations: 117.7 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.007527, allocations: 8.359 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.00754, allocations: 8.312 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.007672, allocations: 70.22 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.007679, allocations: 192 / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.007689, allocations: 3.938 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.007695, allocations: 3.984 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/0.007766, allocations: 35.97 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.008163, allocations: 279.8 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.811e-05/0.008251, allocations: 54.42 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.008298, allocations: 28.97 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.008325, allocations: 0 / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.008438, allocations: 75.38 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.00844, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002746/0.008714, allocations: 145.5 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.008754, allocations: 63.41 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.008839, allocations: 126.1 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.008851, allocations: 25.7 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.008893, allocations: 88.14 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.008934, allocations: 19.89 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.008971, allocations: 29.7 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.009052, allocations: 318.8 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.009098, allocations: 23.98 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.009151, allocations: 54.55 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.464e-05/0.009246, allocations: 70.8 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.009248, allocations: 4 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001394/0.009387, allocations: 113.5 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.009402, allocations: 6.344 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.009408, allocations: 8.047 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.00942, allocations: 0 / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.009476, allocations: 12 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.009481, allocations: 0 / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.009514, allocations: 19.88 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.009527, allocations: 8 kB / 0.9555 GB, free: 14.1 MB / 0.9167 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 6.996e-05/0.009597, allocations: 121.7 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-06/0.009606, allocations: 7.953 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.00963, allocations: 16.36 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.009633, allocations: 4 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.009637, allocations: 4 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.00964, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.009927, allocations: 345.5 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.009928, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.009949, allocations: 11.92 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.00995, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.009959, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00996, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.009961, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.01011, allocations: 215.4 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.01012, allocations: 7.938 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.01013, allocations: 4 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.01017, allocations: 4 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.01021, allocations: 11.97 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.01022, allocations: 7.938 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.01026, allocations: 92.52 kB / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01026, allocations: 0 / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002149/0.01047, allocations: 47.8 kB / 0.9564 GB, free: 13.13 MB / 0.9167 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.0006025/0.01107, allocations: 0.8072 MB / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.01124, allocations: 68.2 kB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01124, allocations: 0 / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.534e-05/0.0113, allocations: 36.27 kB / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01149, allocations: 20.02 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.01257, allocations: 1.497 MB / 0.9587 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.01262, allocations: 69.59 kB / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.01265, allocations: 11.98 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.01269, allocations: 20.5 kB / 0.9588 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.01269, allocations: 0 / 0.9588 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.03121, allocations: 3.411 MB / 0.9622 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.86, allocations: 10.59 kB / 0.9622 GB, free: 7.223 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.89817908871919]