Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.0008574/0.0008574, 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.0008254/0.0008254, allocations: 165.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.9069/0.9069, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.13 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.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.9504 GB, free: 3.586 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.182e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001923/0.001935, allocations: 1.494 MB / 0.9519 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.002875, allocations: 0.7677 MB / 0.9527 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.002923, allocations: 0 / 0.9527 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.002953, allocations: 11.86 kB / 0.9527 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.002995, allocations: 7.938 kB / 0.9527 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.003489, allocations: 151.3 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003593, allocations: 87.69 kB / 0.9529 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.003675, allocations: 4.188 kB / 0.9529 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.003792, allocations: 51.94 kB / 0.953 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.003838, allocations: 27.91 kB / 0.953 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.003854, allocations: 4 kB / 0.953 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.004034, allocations: 143.6 kB / 0.9531 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.004056, allocations: 27.89 kB / 0.9532 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.004088, allocations: 19.98 kB / 0.9532 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.004295, allocations: 167.6 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004298, allocations: 7.922 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004299, allocations: 0 / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.004304, allocations: 0 / 0.9533 GB, free: 0.5977 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.0004649/0.004768, allocations: 347.5 kB / 0.9537 GB, free: 228 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.004807, allocations: 8.031 kB / 0.9537 GB, free: 220 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.004838, allocations: 38.73 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.005015, allocations: 32.88 kB / 0.9538 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.005206, allocations: 141.7 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.005233, allocations: 4.375 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.005246, allocations: 4.375 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.005383, allocations: 70.22 kB / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.005392, allocations: 1.875 kB / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.005401, allocations: 0 / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.005405, allocations: 0 / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.005479, allocations: 35.97 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.005877, allocations: 283.8 kB / 0.9543 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.023e-05/0.005958, allocations: 42.56 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.006005, allocations: 28.97 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.006024, allocations: 0 / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.006133, allocations: 75.38 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.006134, allocations: 0 / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002786/0.006412, allocations: 153.5 kB / 0.9546 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.006447, allocations: 55.41 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.00652, allocations: 126.1 kB / 0.9547 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.006534, allocations: 25.7 kB / 0.9548 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.006577, allocations: 96.08 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.006593, allocations: 15.91 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.006628, allocations: 29.7 kB / 0.9549 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.006703, allocations: 314.8 kB / 0.9552 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.006752, allocations: 31.91 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.006811, allocations: 54.5 kB / 0.9553 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.819e-05/0.006909, allocations: 74.8 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006911, allocations: 0 / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001378/0.007049, allocations: 125.5 kB / 0.9555 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.00706, allocations: 4 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.007066, allocations: 3.938 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.007078, allocations: 4.062 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.00713, allocations: 19.94 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.007136, allocations: 3.984 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.007172, allocations: 11.94 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.007182, allocations: 4 kB / 0.9555 GB, free: 14.16 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 5.768e-05/0.007239, allocations: 113.8 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.007249, allocations: 11.89 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.007272, allocations: 16.36 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.007275, allocations: 4 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.007278, allocations: 4 kB / 0.9557 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007281, allocations: 0 / 0.9557 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.007555, allocations: 345.5 kB / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007556, allocations: 0 / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.007574, allocations: 7.984 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007576, allocations: 0 / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.007585, allocations: 4 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007586, allocations: 0 / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007586, allocations: 0 / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.007747, allocations: 223.3 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.007754, allocations: 3.953 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.007767, allocations: 11.94 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.007807, allocations: 0 / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.007842, allocations: 7.984 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.007849, allocations: 4 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.007885, allocations: 94.64 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007885, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001981/0.008083, allocations: 39.92 kB / 0.9564 GB, free: 13.21 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.0005317/0.008615, allocations: 0.8113 MB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.008761, allocations: 72.19 kB / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008762, allocations: 0 / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.008817, allocations: 35.92 kB / 0.9573 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.009002, allocations: 16.42 kB / 0.9573 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.01022, allocations: 1.501 MB / 0.9587 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.01028, allocations: 77.2 kB / 0.9588 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.01031, allocations: 11.98 kB / 0.9588 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.01035, allocations: 20.5 kB / 0.9588 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.01035, allocations: 0 / 0.9588 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.02554, allocations: 3.401 MB / 0.9622 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.05, allocations: 5.031 kB / 0.9622 GB, free: 7.273 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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: 11.08587282244116]