Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 109.9 kB / 16.41 MB, free: 6.508 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.00124/0.00124, allocations: 187 kB / 17.34 MB, free: 5.742 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7895, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.00245/0.792, allocations: 1.507 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.7931, allocations: 0.726 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.7931, allocations: 1.062 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.7932, allocations: 9.25 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.7932, allocations: 9.875 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.7938, allocations: 125.1 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.7939, allocations: 73.44 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.794, allocations: 15.08 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.7941, allocations: 36.53 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.7941, allocations: 39.42 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.7942, allocations: 7.094 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.7944, allocations: 94.58 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.7944, allocations: 19.02 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.7944, allocations: 27.22 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.7947, allocations: 142.9 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7947, allocations: 3.938 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7947, allocations: 0 / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.7947, allocations: 1 kB / 1.091 GB, free: 3.723 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.0005052/0.7952, allocations: 428 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.7953, allocations: 9.062 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.7953, allocations: 9.906 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.7954, allocations: 173.2 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.7954, allocations: 3.781 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.7954, allocations: 9 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.7956, allocations: 72.17 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.7956, allocations: 0 / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.7956, allocations: 0 / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.7957, allocations: 5.031 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.7958, allocations: 36.22 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.7963, allocations: 314.6 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.7964, allocations: 46.2 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/0.7965, allocations: 39.77 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.7966, allocations: 2.109 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.7967, allocations: 80.5 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.7968, allocations: 0 / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003773/0.7971, allocations: 133.5 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.7972, allocations: 62.61 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.7973, allocations: 122.6 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.7973, allocations: 27.27 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.7973, allocations: 96.02 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.7973, allocations: 8.406 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.7974, allocations: 29.08 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.7974, allocations: 323.5 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.7975, allocations: 31.36 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.7976, allocations: 45.64 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.7978, allocations: 81.5 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.7978, allocations: 0 / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.798, allocations: 116.2 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.798, allocations: 6.516 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.798, allocations: 0.9375 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7981, allocations: 1 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.7981, allocations: 11.91 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7982, allocations: 1.609 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.7982, allocations: 17.19 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.7983, allocations: 7.375 kB / 1.094 GB, free: 1.734 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 6.215e-05/0.7983, allocations: 128 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.7983, allocations: 6.938 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.7984, allocations: 15.41 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7984, allocations: 0.8438 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7984, allocations: 0.875 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.7984, allocations: 0.7969 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.7988, allocations: 374.7 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7988, allocations: 4.562 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.7988, allocations: 9.625 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.7988, allocations: 3.984 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.7988, allocations: 7.016 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7989, allocations: 0 / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7989, allocations: 4.531 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.7991, allocations: 203.5 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.7991, allocations: 87.81 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.7992, allocations: 6.234 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.7992, allocations: 4.344 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.7993, allocations: 8.469 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.7993, allocations: 3.75 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.7993, allocations: 92.41 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7994, allocations: 0 / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003021/0.7997, allocations: 45.8 kB / 1.095 GB, free: 0.8789 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.0003075/0.8, allocations: 174.1 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.8002, allocations: 64.42 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8002, allocations: 0 / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.8003, allocations: 42.16 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.8006, allocations: 9.25 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.801, allocations: 211.5 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.8011, allocations: 0.6863 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.8012, allocations: 12.61 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8012, allocations: 0 / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.003878/0.8051, allocations: 1.627 MB / 1.097 GB, free: 15.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches