Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008872/0.0008872, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005588/0.005589, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003239, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.614, allocations: 142.4 MB / 0.9552 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001128/0.6152, allocations: 1.213 MB / 0.9564 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.616, allocations: 0.7186 MB / 0.9571 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.6161, allocations: 0 / 0.9571 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.6161, allocations: 0 / 0.9571 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.619e-05/0.6161, allocations: 10 kB / 0.9571 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.6165, allocations: 108.9 kB / 0.9572 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.439e-05/0.6166, allocations: 69.98 kB / 0.9572 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.642e-05/0.6167, allocations: 17.14 kB / 0.9573 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.508e-05/0.6167, allocations: 33.62 kB / 0.9573 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.6168, allocations: 38.95 kB / 0.9573 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.6168, allocations: 3.938 kB / 0.9573 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.617, allocations: 89.38 kB / 0.9574 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.617, allocations: 10.17 kB / 0.9574 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.617, allocations: 50.62 kB / 0.9575 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.6172, allocations: 138.4 kB / 0.9576 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.6172, allocations: 1.188 kB / 0.9576 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6172, allocations: 0 / 0.9576 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.6172, allocations: 7.938 kB / 0.9576 GB, free: 5.852 MB / 0.7169 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.0003894/0.6176, allocations: 418.8 kB / 0.958 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.6176, allocations: 9 kB / 0.958 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.408e-05/0.6177, allocations: 32.03 kB / 0.958 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.6177, allocations: 17.06 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.702e-05/0.6178, allocations: 179.1 kB / 0.9582 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.6178, allocations: 3.562 kB / 0.9582 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.6178, allocations: 7.531 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.618, allocations: 76.16 kB / 0.9583 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.618, allocations: 0 / 0.9583 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.618, allocations: 0 / 0.9583 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.618, allocations: 1.969 kB / 0.9583 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.6181, allocations: 40.81 kB / 0.9584 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.6186, allocations: 325.8 kB / 0.9587 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.6187, allocations: 47.78 kB / 0.9587 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.6188, allocations: 38.94 kB / 0.9588 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.6188, allocations: 5.656 kB / 0.9588 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.6189, allocations: 78.94 kB / 0.9588 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.619, allocations: 1.281 kB / 0.9588 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003273/0.6193, allocations: 152.4 kB / 0.959 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.6193, allocations: 53.22 kB / 0.959 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.839e-05/0.6194, allocations: 124.5 kB / 0.9591 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.6194, allocations: 27.08 kB / 0.9592 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.6194, allocations: 90.88 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.6195, allocations: 22.55 kB / 0.9593 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.6195, allocations: 25.77 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.6195, allocations: 320.2 kB / 0.9596 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.6196, allocations: 25.86 kB / 0.9596 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.6197, allocations: 51.17 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.6198, allocations: 83.61 kB / 0.9598 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6198, allocations: 0 / 0.9598 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002019/0.62, allocations: 123.1 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.6201, allocations: 4.125 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6201, allocations: 1.375 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.6201, allocations: 1.375 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.6202, allocations: 13.56 kB / 0.9599 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6202, allocations: 5.75 kB / 0.9599 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.6202, allocations: 13.44 kB / 0.9599 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.6203, allocations: 2.75 kB / 0.9599 GB, free: 3.668 MB / 0.7169 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.354e-05/0.6203, allocations: 123.3 kB / 0.96 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.6203, allocations: 6.656 kB / 0.96 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.6204, allocations: 13.73 kB / 0.9601 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6204, allocations: 5.312 kB / 0.9601 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.6204, allocations: 0 / 0.9601 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6204, allocations: 0 / 0.9601 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.6207, allocations: 392.4 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6207, allocations: 1.375 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.6208, allocations: 4.125 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6208, allocations: 0 / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6208, allocations: 9.359 kB / 0.9605 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.6208, allocations: 5.312 kB / 0.9605 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6208, allocations: 0 / 0.9605 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.621, allocations: 214.4 kB / 0.9607 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.621, allocations: 83.77 kB / 0.9607 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.6211, allocations: 9.297 kB / 0.9608 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.6212, allocations: 16.06 kB / 0.9608 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.6212, allocations: 6.734 kB / 0.9608 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.6212, allocations: 5.375 kB / 0.9608 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.6212, allocations: 92.89 kB / 0.9609 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6212, allocations: 0 / 0.9609 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002565/0.6215, allocations: 36.88 kB / 0.9609 GB, free: 2.75 MB / 0.7169 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.0005562/0.6221, allocations: 0.8157 MB / 0.9617 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.6223, allocations: 75.75 kB / 0.9618 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6223, allocations: 4.125 kB / 0.9618 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.6224, allocations: 43.06 kB / 0.9618 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.6226, allocations: 11.38 kB / 0.9618 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.6238, allocations: 1.504 MB / 0.9633 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.624, allocations: 0.6889 MB / 0.964 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.624, allocations: 7.969 kB / 0.964 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.6241, allocations: 21.8 kB / 0.964 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6241, allocations: 0 / 0.964 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04585/0.6699, allocations: 2.338 MB / 0.9663 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.6702, allocations: 269 kB / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.296, allocations: 3.938 kB / 0.9665 GB, free: 14.39 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed