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.0008632/0.0008632, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000961/0.000961, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9365/0.9365, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.714/1.714, allocations: 359 MB / 0.6037 GB, free: 11.11 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 2.344e-06/2.344e-06, allocations: 0 / 0.9504 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.151e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002737/0.002758, allocations: 1.494 MB / 0.9519 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.004378, allocations: 0.7755 MB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.004444, allocations: 0 / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.004479, allocations: 7.922 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.004552, allocations: 11.86 kB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.005252, allocations: 143.4 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.005396, allocations: 75.77 kB / 0.9529 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.005508, allocations: 12.12 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.00572, allocations: 55.88 kB / 0.953 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.005796, allocations: 35.89 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.005822, allocations: 8 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.006168, allocations: 147.6 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.006199, allocations: 15.92 kB / 0.9532 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.006249, allocations: 23.97 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.006599, allocations: 163.6 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006602, allocations: 3.938 kB / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.252e-06/0.006604, allocations: 0 / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.006609, allocations: 0 / 0.9533 GB, free: 0.5625 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.0006355/0.007245, allocations: 359.5 kB / 0.9537 GB, free: 180 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.007296, allocations: 8.031 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.007339, allocations: 34.73 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.007646, allocations: 28.88 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.007905, allocations: 133.6 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.007934, allocations: 8.375 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.007952, allocations: 4.375 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.008145, allocations: 62.22 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.008156, allocations: 4.188 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.008172, allocations: 7.938 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.008179, allocations: 4 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.008301, allocations: 35.97 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.008783, allocations: 275.8 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.561e-05/0.008878, allocations: 50.44 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.008928, allocations: 28.97 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.00895, allocations: 8 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.009071, allocations: 75.38 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.009072, allocations: 0 / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002856/0.009358, allocations: 141.5 kB / 0.9546 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.009393, allocations: 51.41 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.009466, allocations: 123.2 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.009479, allocations: 33.7 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.009516, allocations: 88.2 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.009532, allocations: 23.89 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.009567, allocations: 29.7 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.009642, allocations: 318.8 kB / 0.9552 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.009688, allocations: 31.97 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.009742, allocations: 42.56 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.009838, allocations: 78.73 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00984, allocations: 0 / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001344/0.009974, allocations: 121.5 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.009987, allocations: 6.656 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.009993, allocations: 8 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.01, allocations: 0 / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.01006, allocations: 11.98 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.01006, allocations: 0 / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.0101, allocations: 11.89 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01011, allocations: 8 kB / 0.9555 GB, free: 14.13 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.603e-05/0.01017, allocations: 133.3 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.01018, allocations: 11.88 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.0102, allocations: 12.44 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01021, allocations: 0 / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01021, allocations: 0 / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01021, allocations: 0 / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.0105, allocations: 345.5 kB / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.0105, allocations: 0 / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.01052, allocations: 7.984 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.01052, allocations: 4 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.01053, allocations: 4 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01053, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01053, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.01069, allocations: 215.4 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.01069, allocations: 7.953 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.01071, allocations: 0 / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.01075, allocations: 4 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.01078, allocations: 11.98 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.01079, allocations: 15.86 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.535e-05/0.01082, allocations: 95.27 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 0 / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000208/0.01103, allocations: 39.92 kB / 0.9564 GB, free: 13.17 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.0005621/0.01159, allocations: 0.8131 MB / 0.9572 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.01176, allocations: 72.22 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01176, allocations: 0 / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.722e-05/0.01182, allocations: 31.98 kB / 0.9573 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01202, allocations: 20.39 kB / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.01307, allocations: 1.502 MB / 0.9587 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.478e-05/0.01312, allocations: 71.33 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.01315, allocations: 4 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.01319, allocations: 24.48 kB / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.01319, allocations: 0 / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.02797, allocations: 3.407 MB / 0.9622 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/6.963, allocations: 7.969 kB / 0.9622 GB, free: 7.254 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.153360649943352]