Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.00088/0.00088, 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.0008995/0.0008995, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9109/0.9109, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.742/1.742, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Nicol2001WindowsUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.535e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001752/0.001768, allocations: 1.489 MB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.002768, allocations: 0.7639 MB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.002826, allocations: 0 / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.002854, allocations: 7.938 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.002901, allocations: 15.8 kB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.003469, allocations: 147.4 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.003572, allocations: 79.72 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.003649, allocations: 8.172 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.003829, allocations: 55.83 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.839e-05/0.003877, allocations: 31.94 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.003895, allocations: 8 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.004082, allocations: 139.7 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.004101, allocations: 15.92 kB / 0.9532 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.004133, allocations: 23.97 kB / 0.9532 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.004337, allocations: 175.4 kB / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004339, allocations: 0 / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.71e-07/0.00434, allocations: 7.938 kB / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.004343, allocations: 3.938 kB / 0.9534 GB, free: 0.5508 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.0004461/0.004789, allocations: 347.5 kB / 0.9537 GB, free: 180 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.004824, allocations: 12.03 kB / 0.9537 GB, free: 168 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.004853, allocations: 34.75 kB / 0.9537 GB, free: 124 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.005026, allocations: 32.86 kB / 0.9538 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.005198, allocations: 121.7 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.005218, allocations: 384 / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.005231, allocations: 12.38 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.005375, allocations: 66.22 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.005382, allocations: 192 / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.005395, allocations: 11.91 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.005399, allocations: 0 / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.983e-05/0.005469, allocations: 35.92 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.005835, allocations: 279.8 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.551e-05/0.005921, allocations: 50.5 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.005967, allocations: 28.97 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.005988, allocations: 7.984 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.006097, allocations: 71.33 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.006098, allocations: 0 / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002744/0.006373, allocations: 141.6 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.006409, allocations: 63.47 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.006483, allocations: 129.2 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.006494, allocations: 25.7 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.006534, allocations: 92.14 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.00655, allocations: 11.91 kB / 0.9549 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.006588, allocations: 33.64 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.006663, allocations: 322.8 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.006709, allocations: 35.92 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.006764, allocations: 50.55 kB / 0.9553 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.006859, allocations: 70.88 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006861, allocations: 0 / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001337/0.006994, allocations: 113.5 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.007008, allocations: 4 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.007013, allocations: 0 / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.007027, allocations: 7.938 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.007084, allocations: 15.98 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.00709, allocations: 4.062 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.007122, allocations: 11.89 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.007134, allocations: 7.984 kB / 0.9555 GB, free: 14.12 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 7.435e-05/0.007209, allocations: 117.8 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.007218, allocations: 7.953 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.007241, allocations: 8.438 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.007244, allocations: 7.938 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.007248, allocations: 0 / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007252, allocations: 0 / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.007542, allocations: 357.5 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007543, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.007561, allocations: 4 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007563, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.007573, allocations: 3.984 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007575, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.007577, allocations: 4 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.007738, allocations: 215.3 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-06/0.007747, allocations: 11.95 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.007759, allocations: 4 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.007802, allocations: 7.984 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.007836, allocations: 7.969 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.007844, allocations: 7.938 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.007879, allocations: 95.27 kB / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007879, allocations: 0 / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002038/0.008083, allocations: 39.88 kB / 0.9564 GB, free: 13.16 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.0005128/0.008596, allocations: 0.8209 MB / 0.9572 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.008741, allocations: 72.2 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008743, allocations: 0 / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.008793, allocations: 28.14 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.0001773/0.00897, allocations: 16.64 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.01, allocations: 1.497 MB / 0.9587 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.01005, allocations: 71.33 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.01008, 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.189e-05/0.01013, allocations: 24.48 kB / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of SimCode: time 3e-07/0.01013, allocations: 4 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.02471, allocations: 3.398 MB / 0.9622 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/6.991, allocations: 5.469 kB / 0.9622 GB, free: 7.242 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_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_Nicol2001WindowsUK.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.17125337291509]