Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008238/0.008238, allocations: 102.2 kB / 15.73 MB, free: 6.492 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.001451/0.001451, allocations: 194.9 kB / 16.68 MB, free: 6.375 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.516/2.516, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.59 kB / 0.9508 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.305, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002433/0.3075, allocations: 1.505 MB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3087, allocations: 0.7297 MB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.3088, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.3088, allocations: 7.922 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.3089, allocations: 15.86 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.3094, allocations: 115.6 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.3095, allocations: 71.83 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.3096, allocations: 23.97 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.3097, allocations: 31.92 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.3098, allocations: 47.75 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3098, allocations: 4 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.31, allocations: 95.91 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.31, allocations: 19.92 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.3101, allocations: 35.84 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.3103, allocations: 139.5 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3103, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3103, allocations: 4 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.3103, allocations: 3.938 kB / 1.091 GB, free: 14.67 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.0006118/0.3109, allocations: 413 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.311, allocations: 12.03 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.311, allocations: 4.844 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3112, allocations: 176.2 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3112, allocations: 8.312 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.3112, allocations: 8.375 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3114, allocations: 73.97 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3114, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3115, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3115, allocations: 3.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3116, allocations: 35.97 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.3122, allocations: 312.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3123, allocations: 62.55 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.3124, allocations: 32.97 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3124, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.3126, allocations: 75.31 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3126, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003797/0.313, allocations: 141.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3131, allocations: 55.41 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.3132, allocations: 117.8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3132, allocations: 29.7 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.3132, allocations: 100 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.3133, allocations: 11.89 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.3133, allocations: 29.66 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3134, allocations: 330.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.3135, allocations: 23.98 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.792e-05/0.3136, allocations: 50.55 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3138, allocations: 66.56 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3138, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002345/0.314, allocations: 109.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3141, allocations: 11.94 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3141, allocations: 80 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3141, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.3142, allocations: 19.98 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3142, allocations: 3.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.3143, allocations: 15.95 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3143, allocations: 4 kB / 1.093 GB, free: 12.12 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.0001018/0.3144, allocations: 117.8 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.3144, allocations: 7.906 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.3145, allocations: 8.375 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.3145, allocations: 3.984 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3145, allocations: 7.875 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3145, allocations: 3.984 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.3149, allocations: 390.4 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.315, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.315, allocations: 8 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.315, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.315, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.315, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.315, allocations: 3.938 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.3153, allocations: 215.3 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.3154, allocations: 81.11 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3154, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.3155, allocations: 3.984 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.3155, allocations: 7.938 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3156, allocations: 3.984 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.3156, allocations: 91.28 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3156, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002954/0.3159, allocations: 51.83 kB / 1.094 GB, free: 11.04 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.0003076/0.3162, allocations: 161.2 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3165, allocations: 79.88 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.3165, allocations: 4.125 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.3166, allocations: 35.92 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3169, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.3173, allocations: 183.4 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3175, allocations: 0.6846 MB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.342e-05/0.3176, allocations: 15.73 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.3176, allocations: 11.44 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3176, allocations: 0 / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of Templates: time 0.004004/0.3216, allocations: 1.454 MB / 1.096 GB, free: 8.371 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0