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.001124/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001199/0.001199, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.449/2.449, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7096/0.711, allocations: 140.4 MB / 0.9489 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.00227/0.7133, allocations: 1.555 MB / 0.9504 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.7144, allocations: 0.7298 MB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.7144, allocations: 0 / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.7145, allocations: 3.938 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.7146, allocations: 9.469 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.715, allocations: 112.7 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.359e-05/0.7151, allocations: 70.25 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.7152, allocations: 13.45 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.7153, allocations: 33.98 kB / 0.9514 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.7153, allocations: 35 kB / 0.9514 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.7154, allocations: 3.938 kB / 0.9514 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.7155, allocations: 97.34 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.7156, allocations: 19.69 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.7156, allocations: 28.48 kB / 0.9516 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.7158, allocations: 134.7 kB / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7158, allocations: 0 / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.7158, allocations: 3.938 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.7158, allocations: 0 / 0.9517 GB, free: 7.168 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.0004961/0.7163, allocations: 420.3 kB / 0.9521 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.7164, allocations: 13.03 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.7164, allocations: 4.875 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.336e-05/0.7165, allocations: 172.4 kB / 0.9523 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.7165, allocations: 3.062 kB / 0.9523 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.7165, allocations: 7.922 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.7167, allocations: 79.52 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.7167, allocations: 1.344 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.7167, allocations: 0 / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7167, allocations: 1.344 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.7169, allocations: 40 kB / 0.9524 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.7174, allocations: 317.9 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.7175, allocations: 48.5 kB / 0.9527 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.638e-05/0.7176, allocations: 36.5 kB / 0.9528 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.7176, allocations: 3.938 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.7178, allocations: 82.17 kB / 0.9529 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.7178, allocations: 0 / 0.9529 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003575/0.7182, allocations: 140.1 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.7182, allocations: 58.12 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.7183, allocations: 123.8 kB / 0.9532 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.7183, allocations: 31.67 kB / 0.9532 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.7183, allocations: 90.12 kB / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.7184, allocations: 14.84 kB / 0.9533 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.7184, allocations: 30.17 kB / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.7184, allocations: 316.6 kB / 0.9536 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.7185, allocations: 30.41 kB / 0.9537 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.7186, allocations: 48.47 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.7188, allocations: 73.2 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7188, allocations: 1.094 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002165/0.719, allocations: 121.1 kB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.719, allocations: 5.219 kB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.719, allocations: 0.9688 kB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7191, allocations: 1.031 kB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.7192, allocations: 12.05 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7192, allocations: 1.312 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.7192, allocations: 8.062 kB / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.7193, allocations: 7.562 kB / 0.9539 GB, free: 5.027 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.183e-05/0.7193, allocations: 127.2 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.7193, allocations: 14.11 kB / 0.9541 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.7194, allocations: 13.53 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7194, allocations: 5.25 kB / 0.9541 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7194, allocations: 1.25 kB / 0.9541 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7194, allocations: 0 / 0.9541 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.7198, allocations: 378.8 kB / 0.9544 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7198, allocations: 0 / 0.9544 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.7198, allocations: 11.5 kB / 0.9545 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.7198, allocations: 1.562 kB / 0.9545 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.7198, allocations: 3.984 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7198, allocations: 1.656 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7198, allocations: 3.938 kB / 0.9545 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.7201, allocations: 205.3 kB / 0.9547 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.7201, allocations: 87.12 kB / 0.9547 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.7201, allocations: 5.125 kB / 0.9547 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.7202, allocations: 2.156 kB / 0.9548 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.7203, allocations: 15.42 kB / 0.9548 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.7203, allocations: 2.25 kB / 0.9548 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.7203, allocations: 92.48 kB / 0.9549 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7203, allocations: 0 / 0.9549 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003079/0.7207, allocations: 36.09 kB / 0.9549 GB, free: 4.113 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.0003638/0.721, allocations: 168.8 kB / 0.9551 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.7213, allocations: 69.73 kB / 0.9551 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7213, allocations: 1.062 kB / 0.9551 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.902e-05/0.7214, allocations: 35.48 kB / 0.9552 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.7217, allocations: 12.42 kB / 0.9552 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.7221, allocations: 191 kB / 0.9553 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.7222, allocations: 0.6943 MB / 0.956 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.7223, allocations: 6.781 kB / 0.956 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.7223, allocations: 15.48 kB / 0.956 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.7223, allocations: 0 / 0.956 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of Templates: time 0.003922/0.7263, allocations: 1.37 MB / 0.9574 GB, free: 2.332 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/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