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.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.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.008616/0.008616, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.001952/0.001953, allocations: 191.1 kB / 16.79 MB, free: 5.805 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.578 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.358/2.358, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6717, allocations: 140.3 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002296/0.674, allocations: 1.559 MB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.6751, allocations: 0.7333 MB / 0.9518 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.6751, allocations: 0 / 0.9518 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.6752, allocations: 4.859 kB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.6753, allocations: 9.375 kB / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.6757, allocations: 108.4 kB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.6758, allocations: 70.14 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.6759, allocations: 18.53 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.676, allocations: 29.64 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.6761, allocations: 38.33 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.6761, allocations: 4.875 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.6763, allocations: 89.88 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.6763, allocations: 13.61 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.6763, allocations: 28.33 kB / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.6765, allocations: 108.4 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6765, allocations: 4 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6765, allocations: 1.312 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.6765, allocations: 0 / 0.9523 GB, free: 6.965 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.0005476/0.677, allocations: 415.2 kB / 0.9527 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.6771, allocations: 9.938 kB / 0.9527 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.6771, allocations: 7.828 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.934e-05/0.6772, allocations: 176.1 kB / 0.9529 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.6773, allocations: 6.75 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.6773, allocations: 4.031 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.6775, allocations: 77.62 kB / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6775, allocations: 0 / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.6775, allocations: 4 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6775, allocations: 2 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.6777, allocations: 35.34 kB / 0.953 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.6782, allocations: 321.6 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.6783, allocations: 56.67 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.779e-05/0.6784, allocations: 35.66 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.6785, allocations: 1.531 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.6787, allocations: 77.12 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.6787, allocations: 0 / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003856/0.6791, allocations: 144.4 kB / 0.9536 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.6791, allocations: 53.69 kB / 0.9537 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.6792, allocations: 120.5 kB / 0.9538 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.6792, allocations: 31.02 kB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.6792, allocations: 87.86 kB / 0.9539 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.6793, allocations: 22.42 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.6793, allocations: 22.22 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.6793, allocations: 324.1 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.6794, allocations: 26.58 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.6795, allocations: 48.23 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.6797, allocations: 81.44 kB / 0.9544 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6797, allocations: 1.125 kB / 0.9544 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002204/0.6799, allocations: 113.4 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6799, allocations: 4.562 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.68, allocations: 1.312 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.68, allocations: 0.8438 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.6801, allocations: 16.17 kB / 0.9545 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.6801, allocations: 1.281 kB / 0.9545 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.6802, allocations: 11.8 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.6802, allocations: 4 kB / 0.9546 GB, free: 4.824 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,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 6.296e-05/0.6802, allocations: 122.8 kB / 0.9547 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.6803, allocations: 7.125 kB / 0.9547 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.6803, allocations: 9.969 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.6803, allocations: 0 / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6803, allocations: 5.688 kB / 0.9547 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6803, allocations: 3.984 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.6807, allocations: 390.1 kB / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6807, allocations: 0 / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.6808, allocations: 3.844 kB / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6808, allocations: 1.469 kB / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.6808, allocations: 0 / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6808, allocations: 5.188 kB / 0.9551 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6808, allocations: 7.938 kB / 0.9551 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.681, allocations: 210.6 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.6811, allocations: 82.23 kB / 0.9554 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.6811, allocations: 1.281 kB / 0.9554 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.6812, allocations: 6.453 kB / 0.9554 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.6812, allocations: 6.906 kB / 0.9554 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.6812, allocations: 10.2 kB / 0.9554 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.6813, allocations: 92.38 kB / 0.9555 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6813, allocations: 0 / 0.9555 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000324/0.6816, allocations: 40.61 kB / 0.9555 GB, free: 3.91 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 (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.0002957/0.6819, allocations: 170.5 kB / 0.9557 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.6822, allocations: 81.14 kB / 0.9558 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6822, allocations: 0 / 0.9558 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.6823, allocations: 33.23 kB / 0.9558 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.6825, allocations: 3.25 kB / 0.9558 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.6829, allocations: 221.7 kB / 0.956 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.683, allocations: 0.6971 MB / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.6831, allocations: 10.34 kB / 0.9567 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.6831, allocations: 0 / 0.9567 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of Templates: time 0.003302/0.6864, allocations: 1.6 MB / 0.9583 GB, free: 1.996 MB / 0.7169 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches