Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_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.008664/0.008664, allocations: 98.41 kB / 15.73 MB, free: 6.016 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.001595/0.001595, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.12 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3103, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002728/0.313, allocations: 1.499 MB / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3143, allocations: 0.7366 MB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.3144, allocations: 0 / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.3144, allocations: 3.938 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.3145, allocations: 15.86 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.3152, allocations: 123.5 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3153, allocations: 75.78 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.3154, allocations: 19.92 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.172e-05/0.3155, allocations: 31.92 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.3156, allocations: 43.83 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3156, allocations: 4 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.3158, allocations: 99.84 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.3158, allocations: 19.91 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.3159, allocations: 31.86 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.3162, allocations: 139.9 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3162, allocations: 0 / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3162, allocations: 0 / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3162, allocations: 8 kB / 1.21 GB, free: 7.336 MB / 0.9669 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.0006358/0.3168, allocations: 405 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3169, allocations: 12.62 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.3169, allocations: 42.67 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.317, allocations: 8.844 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3171, allocations: 176.2 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.3171, allocations: 4.312 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3172, allocations: 8.375 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3174, allocations: 77.77 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3174, allocations: 3.938 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3174, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3174, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3175, allocations: 39.97 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.3181, allocations: 324.6 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3183, allocations: 42.56 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.3184, allocations: 32.97 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3184, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.3186, allocations: 87.38 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3186, allocations: 4 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003995/0.319, allocations: 133.6 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.3191, allocations: 51.41 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.3192, allocations: 125.7 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3192, allocations: 25.7 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.3192, allocations: 92.14 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3193, allocations: 15.73 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.3193, allocations: 37.7 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3194, allocations: 318.8 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.3195, allocations: 23.98 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.3196, allocations: 54.92 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3198, allocations: 78.53 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3198, allocations: 0 / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002271/0.32, allocations: 105.5 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.32, allocations: 7.984 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3201, allocations: 4 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3201, allocations: 3.938 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.3202, allocations: 11.94 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3202, allocations: 0 / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.3203, allocations: 16.05 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3203, allocations: 4.391 kB / 1.212 GB, free: 4.75 MB / 0.9669 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 8.98e-05/0.3204, allocations: 117.8 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.3204, allocations: 7.906 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.3204, allocations: 12.36 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3205, allocations: 4 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.3205, allocations: 4 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3205, allocations: 0 / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.321, allocations: 394.3 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.321, allocations: 0 / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.321, allocations: 4 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.321, allocations: 3.938 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.321, allocations: 3.984 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.321, allocations: 7.938 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.321, allocations: 0 / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3213, allocations: 207.4 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3214, allocations: 85.02 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3214, allocations: 4 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.3215, allocations: 11.92 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.3215, allocations: 0 / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3216, allocations: 7.984 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.349e-05/0.3216, allocations: 95.42 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3216, allocations: 4 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003097/0.3219, allocations: 36 kB / 1.213 GB, free: 3.656 MB / 0.9669 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.0007667/0.3227, allocations: 0.8113 MB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.323, allocations: 67.95 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.323, allocations: 0 / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.3231, allocations: 43.84 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.3233, allocations: 14 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.325, allocations: 1.485 MB / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3252, allocations: 0.6923 MB / 1.216 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.51e-05/0.3253, allocations: 8 kB / 1.216 GB, free: 416 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.3253, allocations: 23.42 kB / 1.216 GB, free: 392 kB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3253, allocations: 0 / 1.216 GB, free: 392 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.345, allocations: 2.684 MB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.117, allocations: 8.859 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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