Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.528/2.528, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.06 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7676, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002246/0.7699, allocations: 1.516 MB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.771, allocations: 0.7444 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.771, allocations: 0.9688 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.771, allocations: 4.688 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.7711, allocations: 13.48 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.7715, allocations: 125.5 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.7716, allocations: 76.81 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.7717, allocations: 14.31 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.543e-05/0.7718, allocations: 39.69 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.7718, allocations: 36.17 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.7718, allocations: 6.375 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.772, allocations: 106.2 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.7721, allocations: 22.58 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.7721, allocations: 31.59 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.7723, allocations: 135.2 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.7723, allocations: 4.719 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7723, allocations: 0 / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7723, allocations: 0 / 1.274 GB, free: 5.902 MB / 0.9981 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.0004762/0.7728, allocations: 425 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.7728, allocations: 9.625 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.7728, allocations: 40.52 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.7729, allocations: 8.047 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.497e-05/0.7729, allocations: 182.3 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.773, allocations: 2.5 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.773, allocations: 4.125 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.7731, allocations: 76.08 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7731, allocations: 5.219 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.7732, allocations: 0.7812 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.7732, allocations: 0.9375 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.7733, allocations: 35.83 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.7737, allocations: 322.6 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.7738, allocations: 47.47 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.7739, allocations: 26.11 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.7739, allocations: 2.172 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.7741, allocations: 80.67 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7741, allocations: 3.938 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000343/0.7745, allocations: 139.2 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.7745, allocations: 56.81 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.7745, allocations: 123.1 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.7746, allocations: 27.14 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.7746, allocations: 92.09 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.7746, allocations: 11.48 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.7746, allocations: 30.19 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.7747, allocations: 328.8 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.7748, allocations: 22.16 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.7748, allocations: 46.81 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.775, allocations: 75.28 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.775, allocations: 4.719 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002151/0.7752, allocations: 112 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.7752, allocations: 7.484 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.7752, allocations: 0.9062 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.7752, allocations: 0.7812 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.7753, allocations: 15.16 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.7753, allocations: 4.938 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.7754, allocations: 14.14 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.7754, allocations: 13.41 kB / 1.276 GB, free: 3.859 MB / 0.9981 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.842e-05/0.7754, allocations: 119.4 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.7755, allocations: 6.859 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.7755, allocations: 9.594 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7755, allocations: 1.125 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7755, allocations: 1.672 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7755, allocations: 0 / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.7759, allocations: 387 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7759, allocations: 0 / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.7759, allocations: 9.484 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7759, allocations: 1.703 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.7759, allocations: 5.859 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7759, allocations: 4.656 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7759, allocations: 0 / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.7761, allocations: 214.4 kB / 1.277 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.7762, allocations: 78.8 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.7762, allocations: 0.875 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.7763, allocations: 12.78 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.7763, allocations: 6.141 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.7763, allocations: 2.062 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.7763, allocations: 92.08 kB / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7763, allocations: 0 / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002833/0.7766, allocations: 42.19 kB / 1.277 GB, free: 3.012 MB / 0.9981 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.0006055/0.7772, allocations: 0.8134 MB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.7775, allocations: 77.66 kB / 1.278 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7775, allocations: 0 / 1.278 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.7775, allocations: 32.88 kB / 1.278 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.7778, allocations: 8.344 kB / 1.278 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.7791, allocations: 1.505 MB / 1.28 GB, free: 16.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.7794, allocations: 0.6936 MB / 1.28 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.7794, allocations: 4.641 kB / 1.28 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.7794, allocations: 25.27 kB / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.7794, allocations: 0 / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.8041, allocations: 2.658 MB / 1.283 GB, free: 15.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/7.888, allocations: 4.734 kB / 1.283 GB, free: 15.69 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_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_Herkel2008WindowsTiltedOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset [Calling sys.exit(0), Time elapsed: 13.326098363999336]