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.001825/0.001825, allocations: 108.3 kB / 16.46 MB, free: 6.512 MB / 14.72 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.002288/0.002288, allocations: 208.3 kB / 19.43 MB, free: 3.645 MB / 14.72 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 1.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7672 GB, free: 5.207 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 79.89 kB / 1.112 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9479/0.95, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002997/0.953, allocations: 1.517 MB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.9547, allocations: 0.8156 MB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.9547, allocations: 4 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/0.9548, allocations: 3.938 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.9549, allocations: 7.875 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.9557, allocations: 139.5 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.9559, allocations: 75.83 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.956, allocations: 15.98 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.9562, allocations: 51.77 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.9563, allocations: 31.91 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.9563, allocations: 4 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.9566, allocations: 123.9 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.9566, allocations: 15.92 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.9567, allocations: 31.86 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.9571, allocations: 153.4 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.9571, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9571, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.9571, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 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.0008836/0.958, allocations: 432.6 kB / 1.282 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.958, allocations: 8.031 kB / 1.282 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.9581, allocations: 38.75 kB / 1.282 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.9584, allocations: 28.91 kB / 1.282 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.9587, allocations: 180.3 kB / 1.282 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.9587, allocations: 8.359 kB / 1.282 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.9587, allocations: 12.38 kB / 1.282 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.9589, allocations: 69.53 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9589, allocations: 0 / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.959, allocations: 4 kB / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.959, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.9591, allocations: 39.95 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.9598, allocations: 324.6 kB / 1.282 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.9599, allocations: 46.5 kB / 1.282 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.96, allocations: 32.97 kB / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.96, allocations: 4 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.9602, allocations: 75.38 kB / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.9602, allocations: 0 / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000446/0.9606, allocations: 149.5 kB / 1.283 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.9607, allocations: 51.41 kB / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.9608, allocations: 122.1 kB / 1.283 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.9609, allocations: 29.7 kB / 1.283 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.9609, allocations: 92.08 kB / 1.283 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.961, allocations: 19.97 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.9611, allocations: 33.7 kB / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.9613, allocations: 326.8 kB / 1.283 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.9614, allocations: 19.98 kB / 1.283 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.9615, allocations: 55.41 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.9617, allocations: 79.36 kB / 1.283 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9617, allocations: 0 / 1.283 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002627/0.962, allocations: 117.5 kB / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.962, allocations: 4 kB / 1.283 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.962, allocations: 4 kB / 1.283 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.962, allocations: 0 / 1.283 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.9621, allocations: 20 kB / 1.283 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.495e-06/0.9621, allocations: 3.984 kB / 1.283 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.9622, allocations: 7.938 kB / 1.283 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.9622, allocations: 7.938 kB / 1.284 GB, free: 7.754 MB / 0.9825 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 0.000116/0.9623, allocations: 117.8 kB / 1.284 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.9624, allocations: 3.953 kB / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.9624, allocations: 16.36 kB / 1.284 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.9624, allocations: 0 / 1.284 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9624, allocations: 4 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9624, allocations: 0 / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.963, allocations: 382.4 kB / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.963, allocations: 4 kB / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.963, allocations: 3.938 kB / 1.284 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.963, allocations: 4 kB / 1.284 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.9631, allocations: 3.984 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.9631, allocations: 8 kB / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9631, allocations: 4 kB / 1.284 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.9634, allocations: 215.8 kB / 1.284 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.9634, allocations: 85.05 kB / 1.284 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.9635, allocations: 0 / 1.284 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.9636, allocations: 11.88 kB / 1.284 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.9636, allocations: 7.984 kB / 1.284 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.9636, allocations: 0 / 1.284 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.136e-05/0.9637, allocations: 107.1 kB / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9637, allocations: 0 / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003197/0.964, allocations: 35.94 kB / 1.284 GB, free: 6.656 MB / 0.9825 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.001027/0.965, allocations: 0.8082 MB / 1.285 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.9653, allocations: 67.89 kB / 1.285 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9653, allocations: 0 / 1.285 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.9654, allocations: 35.97 kB / 1.285 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.9657, allocations: 11.94 kB / 1.285 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.9677, allocations: 1.517 MB / 1.287 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.9681, allocations: 0.6962 MB / 1.288 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.9681, allocations: 4 kB / 1.288 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.9682, allocations: 23.42 kB / 1.288 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.9682, allocations: 0 / 1.288 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.9963, allocations: 2.696 MB / 1.29 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/9.391, allocations: 12.12 kB / 1.29 GB, free: 0.7852 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/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] "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:time,win.TIn,win.p,TIn.amplitude,TIn.f,TIn.offset [Calling sys.exit(0), Time elapsed: 15.616785133024678]