Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.005674/0.005674, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001096/0.001096, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.89 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3014, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003089/0.3046, allocations: 1.506 MB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.306, allocations: 0.7288 MB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.306, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.3061, allocations: 3.938 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.3062, allocations: 11.88 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.3068, allocations: 127.5 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.3069, allocations: 83.75 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.307, allocations: 7.953 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.3071, allocations: 35.91 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.3072, allocations: 39.83 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.3073, allocations: 12 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.3075, allocations: 99.84 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.3075, allocations: 11.92 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.3076, allocations: 31.86 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.3078, allocations: 147.9 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3078, allocations: 0 / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3078, allocations: 0 / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.3079, allocations: 0 / 1.21 GB, free: 7.297 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.0006638/0.3085, allocations: 416.9 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3086, allocations: 12.62 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.3086, allocations: 38.75 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.3087, allocations: 8.844 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3088, allocations: 180.2 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.3088, allocations: 384 / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.3089, allocations: 12.36 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.3091, allocations: 69.78 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3091, allocations: 3.938 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3091, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3091, allocations: 4 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.3092, allocations: 35.97 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.3099, allocations: 324.6 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3101, allocations: 46.55 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.627e-05/0.3101, allocations: 36.97 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3102, allocations: 0 / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.3104, allocations: 75.38 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.885e-06/0.3104, allocations: 4 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000383/0.3108, allocations: 133.6 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3108, allocations: 59.41 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.3109, allocations: 122.1 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.311, allocations: 29.7 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.311, allocations: 88.14 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3111, allocations: 19.81 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.3111, allocations: 29.7 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3112, allocations: 326.8 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.3113, allocations: 19.98 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.3114, allocations: 62.59 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.3116, allocations: 70.5 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3116, allocations: 0 / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002368/0.3118, allocations: 113.5 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3119, allocations: 4 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3119, allocations: 0 / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3119, allocations: 7.938 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.312, allocations: 15.92 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.312, allocations: 400 / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.3121, allocations: 8 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3121, allocations: 7.984 kB / 1.212 GB, free: 4.703 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 0.0001023/0.3122, allocations: 121.8 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.3123, allocations: 7.906 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3123, allocations: 8.375 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3123, allocations: 0 / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3123, allocations: 3.938 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3123, allocations: 4 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.3128, allocations: 390.3 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3128, allocations: 0 / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.3129, allocations: 15.98 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3129, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3129, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3129, allocations: 3.938 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3129, allocations: 0 / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.3132, allocations: 211.3 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.3133, allocations: 81.02 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3133, allocations: 12 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.3134, allocations: 7.922 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3134, allocations: 4 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3134, allocations: 4 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.3135, allocations: 91.27 kB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.3135, allocations: 0 / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000336/0.3138, allocations: 39.98 kB / 1.213 GB, free: 3.613 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.0008493/0.3147, allocations: 0.8074 MB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.315, allocations: 71.95 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.315, allocations: 4.062 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3151, allocations: 35.92 kB / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.3154, allocations: 19.73 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.3171, allocations: 1.494 MB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3174, allocations: 0.6885 MB / 1.216 GB, free: 372 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.3174, allocations: 11.92 kB / 1.216 GB, free: 360 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.3175, allocations: 23.42 kB / 1.216 GB, free: 336 kB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.3175, allocations: 0 / 1.216 GB, free: 336 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.3399, allocations: 2.675 MB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.866, allocations: 7.359 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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