Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.005762/0.005762, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001194/0.001194, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.25 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3149, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.004386/0.3194, allocations: 1.504 MB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3212, allocations: 0.7259 MB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.3213, allocations: 7.938 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.869e-05/0.3214, allocations: 7.875 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/0.3215, allocations: 11.91 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.3224, allocations: 123.6 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.3226, allocations: 71.77 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.3227, allocations: 15.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3229, allocations: 39.89 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.323, allocations: 35.84 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.323, allocations: 8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.3234, allocations: 91.84 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.3234, allocations: 19.92 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.3235, allocations: 39.84 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.3239, allocations: 142.5 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3239, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3239, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.3239, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 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.0009106/0.3249, allocations: 417.8 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.3249, allocations: 11.97 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.325, allocations: 34.75 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.325, allocations: 12.84 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3252, allocations: 176.2 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.3252, allocations: 8.312 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3253, allocations: 4.375 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.3255, allocations: 69.78 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3255, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3255, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3255, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3257, allocations: 39.91 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.3264, allocations: 316.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3265, allocations: 54.55 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.3266, allocations: 28.97 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3267, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3269, allocations: 83.31 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.327, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004246/0.3274, allocations: 133.5 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.3274, allocations: 59.41 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3276, allocations: 129.8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3276, allocations: 33.7 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3277, allocations: 88.05 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3278, allocations: 19.8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.3278, allocations: 25.72 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.328, allocations: 322.8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.3281, allocations: 23.98 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3282, allocations: 62.48 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3284, allocations: 62.56 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3284, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002731/0.3287, allocations: 113.8 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.3287, allocations: 9.406 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3287, allocations: 4.062 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.3287, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3288, allocations: 15.92 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.3289, allocations: 4.078 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.329, allocations: 15.89 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.329, allocations: 3.984 kB / 1.093 GB, free: 12.53 MB / 0.8575 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 0.0001221/0.3291, allocations: 128.3 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.3291, allocations: 3.906 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.3292, allocations: 16.38 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3292, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3292, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3292, allocations: 3.984 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.3298, allocations: 378.4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3298, allocations: 7.984 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.3298, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3298, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3299, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3299, allocations: 3.938 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3299, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.3302, allocations: 215.3 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.3303, allocations: 81.02 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3303, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.3304, allocations: 11.92 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.3304, allocations: 15.98 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.3305, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.446e-05/0.3305, allocations: 95.27 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3305, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003286/0.3309, allocations: 43.92 kB / 1.093 GB, free: 11.44 MB / 0.8575 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.0008744/0.3318, allocations: 0.8016 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.332, allocations: 63.97 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.332, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3322, allocations: 40.05 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3324, allocations: 15.92 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3343, allocations: 1.487 MB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3346, allocations: 0.6983 MB / 1.096 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.478e-05/0.3347, allocations: 7.75 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.3348, allocations: 19.42 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of SimCode: time 7.82e-07/0.3348, allocations: 0 / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.3575, allocations: 2.674 MB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.332, allocations: 19.75 kB / 1.099 GB, free: 5.641 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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