Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.0007897/0.0007897, 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.0008373/0.0008373, 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.9019/0.9019, 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.689/1.689, 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.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9505 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.673e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00202/0.002036, allocations: 1.513 MB / 0.952 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.00299, allocations: 0.764 MB / 0.9527 GB, free: 100 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.003045, allocations: 4 kB / 0.9527 GB, free: 96 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.003074, allocations: 7.922 kB / 0.9527 GB, free: 88 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.647e-05/0.003121, allocations: 11.88 kB / 0.9527 GB, free: 76 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.003679, allocations: 143.5 kB / 0.9529 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.003794, allocations: 83.69 kB / 0.9529 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.00389, allocations: 16.02 kB / 0.953 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.004028, allocations: 47.89 kB / 0.953 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.004081, allocations: 39.83 kB / 0.953 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.0041, allocations: 8 kB / 0.9531 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.004294, allocations: 139.7 kB / 0.9532 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.004323, allocations: 23.91 kB / 0.9532 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.004361, allocations: 15.98 kB / 0.9532 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.004573, allocations: 163.6 kB / 0.9534 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004576, allocations: 4 kB / 0.9534 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004577, allocations: 0 / 0.9534 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004581, allocations: 0 / 0.9534 GB, free: 15.4 MB / 0.8698 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.0004616/0.005043, allocations: 359.4 kB / 0.9537 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.005078, allocations: 8.031 kB / 0.9537 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.005106, allocations: 34.75 kB / 0.9538 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.005274, allocations: 32.86 kB / 0.9538 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.00543, allocations: 133.7 kB / 0.9539 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.005449, allocations: 8.375 kB / 0.9539 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.005461, allocations: 4.375 kB / 0.9539 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.005583, allocations: 62.22 kB / 0.954 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005591, allocations: 4.172 kB / 0.954 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.005602, allocations: 11.94 kB / 0.954 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.005606, allocations: 4 kB / 0.954 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.005675, allocations: 31.98 kB / 0.954 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.006038, allocations: 267.9 kB / 0.9543 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.085e-05/0.006118, allocations: 50.44 kB / 0.9544 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.006164, allocations: 28.97 kB / 0.9544 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.006182, allocations: 3.984 kB / 0.9544 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.00629, allocations: 83.34 kB / 0.9545 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.006291, allocations: 0 / 0.9545 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002582/0.006549, allocations: 145.9 kB / 0.9546 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.006582, allocations: 51.41 kB / 0.9546 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.098e-05/0.006653, allocations: 127.4 kB / 0.9548 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.006665, allocations: 33.7 kB / 0.9548 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.006703, allocations: 84.14 kB / 0.9549 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.006718, allocations: 15.91 kB / 0.9549 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.006754, allocations: 33.7 kB / 0.9549 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.006828, allocations: 322.8 kB / 0.9552 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.006875, allocations: 31.98 kB / 0.9553 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.006932, allocations: 55.34 kB / 0.9553 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.491e-05/0.007027, allocations: 79.34 kB / 0.9554 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007029, allocations: 0 / 0.9554 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001395/0.007168, allocations: 125.5 kB / 0.9555 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007181, allocations: 8 kB / 0.9555 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.007187, allocations: 4.016 kB / 0.9555 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.007197, allocations: 0 / 0.9555 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.007257, allocations: 15.98 kB / 0.9555 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.007262, allocations: 3.984 kB / 0.9555 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.007297, allocations: 15.89 kB / 0.9556 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.007307, allocations: 4 kB / 0.9556 GB, free: 12.94 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.653e-05/0.007373, allocations: 128.8 kB / 0.9557 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.007382, allocations: 7.984 kB / 0.9557 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.007402, allocations: 8.438 kB / 0.9557 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.007404, allocations: 4 kB / 0.9557 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.007408, allocations: 0 / 0.9557 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.007411, allocations: 0 / 0.9557 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.007686, allocations: 345.5 kB / 0.956 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.007687, allocations: 0 / 0.956 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.007703, allocations: 7.984 kB / 0.956 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.007704, allocations: 0 / 0.956 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007712, allocations: 8 kB / 0.9561 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007714, allocations: 7.938 kB / 0.9561 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007714, allocations: 0 / 0.9561 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.007868, allocations: 211.4 kB / 0.9563 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.007877, allocations: 7.953 kB / 0.9563 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.00789, allocations: 8.062 kB / 0.9563 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.007931, allocations: 7.984 kB / 0.9563 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.007962, allocations: 0 / 0.9563 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.007971, allocations: 11.92 kB / 0.9563 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.008005, allocations: 91.27 kB / 0.9564 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.008005, allocations: 8 kB / 0.9564 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002108/0.008216, allocations: 39.88 kB / 0.9564 GB, free: 11.98 MB / 0.8698 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,occ.y,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.0005007/0.008717, allocations: 0.8175 MB / 0.9572 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.008864, allocations: 67.97 kB / 0.9573 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.008866, allocations: 4 kB / 0.9573 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.008919, allocations: 31.97 kB / 0.9573 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.009104, allocations: 14.44 kB / 0.9573 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.01031, allocations: 1.504 MB / 0.9588 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.01036, allocations: 79.39 kB / 0.9589 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.01039, allocations: 7.984 kB / 0.9589 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.01043, allocations: 24.48 kB / 0.9589 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of SimCode: time 8.11e-07/0.01043, allocations: 0 / 0.9589 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.02698, allocations: 3.405 MB / 0.9622 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.778/6.805, allocations: 11.67 kB / 0.9623 GB, free: 6.031 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_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_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.949537007138133]