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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.0009939/0.000994, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.297 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.464/2.464, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003812, allocations: 12 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7892/0.7896, allocations: 142.3 MB / 0.9535 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001511/0.7912, allocations: 1.198 MB / 0.9547 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.7922, allocations: 0.6743 MB / 0.9553 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.7923, allocations: 4 kB / 0.9553 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.7923, allocations: 5.062 kB / 0.9553 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.7924, allocations: 9.109 kB / 0.9554 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.7928, allocations: 95.33 kB / 0.9554 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.7929, allocations: 42.53 kB / 0.9555 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.793, allocations: 9.391 kB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.7931, allocations: 33.12 kB / 0.9555 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.7932, allocations: 35.75 kB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.7932, allocations: 7.297 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.7934, allocations: 62.34 kB / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.7934, allocations: 18.97 kB / 0.9556 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.7934, allocations: 35.02 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.7936, allocations: 103 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.7936, allocations: 0 / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7936, allocations: 0 / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.7936, allocations: 1.062 kB / 0.9558 GB, free: 6.602 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.0004839/0.7941, allocations: 409.4 kB / 0.9562 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.7942, allocations: 9.5 kB / 0.9562 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.7942, allocations: 11.42 kB / 0.9562 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.694e-05/0.7943, allocations: 166.7 kB / 0.9563 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.7943, allocations: 2.469 kB / 0.9563 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.7943, allocations: 12.08 kB / 0.9564 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.7945, allocations: 78.28 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7945, allocations: 0 / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.7945, allocations: 0 / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.7946, allocations: 1.125 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.7947, allocations: 45.52 kB / 0.9565 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.7952, allocations: 322.4 kB / 0.9568 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.7954, allocations: 51 kB / 0.9568 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.7954, allocations: 1.438 kB / 0.9568 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.7956, allocations: 83.59 kB / 0.9569 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.7956, allocations: 3.938 kB / 0.9569 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003732/0.796, allocations: 156.5 kB / 0.9571 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.796, allocations: 61.58 kB / 0.9571 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.7961, allocations: 119.9 kB / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.7961, allocations: 26.89 kB / 0.9573 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.7961, allocations: 95.69 kB / 0.9574 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.7962, allocations: 10.25 kB / 0.9574 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.7962, allocations: 4 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.7962, allocations: 316.6 kB / 0.9577 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.7963, allocations: 33.52 kB / 0.9577 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/0.7964, allocations: 50.25 kB / 0.9578 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.391e-05/0.7965, allocations: 32.17 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7965, allocations: 0 / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002129/0.7967, allocations: 125.7 kB / 0.9579 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.7967, allocations: 6.219 kB / 0.9579 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.7968, allocations: 0 / 0.9579 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7968, allocations: 5.734 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.7969, allocations: 16.95 kB / 0.9579 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7969, allocations: 5.969 kB / 0.9579 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.7969, allocations: 17.41 kB / 0.958 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.797, allocations: 3.656 kB / 0.958 GB, free: 4.535 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.626e-05/0.797, allocations: 123.2 kB / 0.9581 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.7971, allocations: 5.688 kB / 0.9581 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.7971, allocations: 10.19 kB / 0.9581 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7971, allocations: 5.734 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7971, allocations: 0 / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7971, allocations: 0 / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.7975, allocations: 384.4 kB / 0.9585 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7975, allocations: 0 / 0.9585 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.7975, allocations: 7.797 kB / 0.9585 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7975, allocations: 5.484 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.7976, allocations: 5.375 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7976, allocations: 0 / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7976, allocations: 3.938 kB / 0.9585 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.7978, allocations: 214.7 kB / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.7978, allocations: 88.06 kB / 0.9588 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.7979, allocations: 3.953 kB / 0.9588 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.7979, allocations: 8.812 kB / 0.9588 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.798, allocations: 10.58 kB / 0.9588 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.798, allocations: 3.188 kB / 0.9588 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.798, allocations: 91.8 kB / 0.9589 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.798, allocations: 0 / 0.9589 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002902/0.7983, allocations: 43.2 kB / 0.9589 GB, free: 3.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002967/0.7986, allocations: 169.8 kB / 0.9591 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.7989, allocations: 70.69 kB / 0.9592 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7989, allocations: 0 / 0.9592 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.799, allocations: 34.77 kB / 0.9592 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.7992, allocations: 14.52 kB / 0.9592 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.7995, allocations: 201 kB / 0.9594 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.7996, allocations: 0.6903 MB / 0.9601 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.7996, allocations: 7.875 kB / 0.9601 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.7997, allocations: 14.36 kB / 0.9601 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7997, allocations: 0 / 0.9601 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of Templates: time 0.003531/0.8032, allocations: 1.343 MB / 0.9614 GB, free: 1.855 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (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 & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0