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.0009924/0.0009925, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 183.5 kB / 16.92 MB, free: 6.926 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.352 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.359/2.359, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6927/0.6931, allocations: 142.4 MB / 0.9557 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001472/0.6946, allocations: 1.217 MB / 0.9569 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.6957, allocations: 0.7173 MB / 0.9576 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.6957, allocations: 1.156 kB / 0.9576 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.6958, allocations: 3.938 kB / 0.9576 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.6958, allocations: 13.19 kB / 0.9576 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.6963, allocations: 104.8 kB / 0.9577 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.667e-05/0.6964, allocations: 74.22 kB / 0.9578 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.6965, allocations: 17.36 kB / 0.9578 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.6965, allocations: 34.23 kB / 0.9578 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.6966, allocations: 31.06 kB / 0.9579 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.6966, allocations: 2.281 kB / 0.9579 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.6968, allocations: 94.06 kB / 0.958 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.6969, allocations: 10.14 kB / 0.958 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.6969, allocations: 58.2 kB / 0.958 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.6971, allocations: 99.64 kB / 0.9581 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6971, allocations: 0 / 0.9581 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.582e-06/0.6971, allocations: 5.875 kB / 0.9581 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.6971, allocations: 0 / 0.9581 GB, free: 5.969 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.0005158/0.6976, allocations: 409 kB / 0.9585 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.6977, allocations: 8.938 kB / 0.9585 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.6977, allocations: 8 kB / 0.9585 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.379e-05/0.6978, allocations: 176.5 kB / 0.9587 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.6979, allocations: 2.656 kB / 0.9587 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.6979, allocations: 4.625 kB / 0.9587 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.6981, allocations: 78.81 kB / 0.9588 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.6981, allocations: 3.984 kB / 0.9588 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.6981, allocations: 1.031 kB / 0.9588 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6981, allocations: 5.125 kB / 0.9588 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.6983, allocations: 41.62 kB / 0.9588 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.6988, allocations: 322.1 kB / 0.9591 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.6989, allocations: 48.06 kB / 0.9592 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.345e-05/0.699, allocations: 37.66 kB / 0.9592 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.6991, allocations: 5.641 kB / 0.9592 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.6992, allocations: 79.77 kB / 0.9593 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6992, allocations: 3.938 kB / 0.9593 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003993/0.6996, allocations: 156.4 kB / 0.9594 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.6997, allocations: 54.44 kB / 0.9595 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.6998, allocations: 120.1 kB / 0.9596 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.6998, allocations: 30.72 kB / 0.9596 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.6999, allocations: 90.77 kB / 0.9597 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.6999, allocations: 18.66 kB / 0.9597 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.6999, allocations: 25.23 kB / 0.9598 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.7, allocations: 321.7 kB / 0.9601 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.7001, allocations: 28.94 kB / 0.9601 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.733e-05/0.7002, allocations: 47.34 kB / 0.9602 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.7003, allocations: 79.98 kB / 0.9602 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7003, allocations: 0 / 0.9602 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002265/0.7006, allocations: 131.1 kB / 0.9604 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7006, allocations: 10.84 kB / 0.9604 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7006, allocations: 0 / 0.9604 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7006, allocations: 1.375 kB / 0.9604 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.7007, allocations: 9.625 kB / 0.9604 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7007, allocations: 5.359 kB / 0.9604 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.7008, allocations: 13.44 kB / 0.9604 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.7008, allocations: 2.75 kB / 0.9604 GB, free: 3.832 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.337e-05/0.7009, allocations: 123.3 kB / 0.9605 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.7009, allocations: 6.656 kB / 0.9605 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.7009, allocations: 13.73 kB / 0.9605 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.7009, allocations: 1.375 kB / 0.9605 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.701, allocations: 3.938 kB / 0.9605 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.701, allocations: 3.938 kB / 0.9605 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.7013, allocations: 384.5 kB / 0.9609 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7013, allocations: 5.375 kB / 0.9609 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.7014, allocations: 4.125 kB / 0.9609 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.7014, allocations: 0 / 0.9609 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.7014, allocations: 9.359 kB / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7014, allocations: 1.375 kB / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7014, allocations: 3.938 kB / 0.9609 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.7017, allocations: 214.4 kB / 0.9611 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.7017, allocations: 83.77 kB / 0.9612 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.7017, allocations: 5.359 kB / 0.9612 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.7018, allocations: 8.125 kB / 0.9612 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.7019, allocations: 10.67 kB / 0.9612 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.7019, allocations: 5.375 kB / 0.9612 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.7019, allocations: 93.55 kB / 0.9613 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7019, allocations: 0 / 0.9613 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002967/0.7022, allocations: 36.88 kB / 0.9614 GB, free: 2.922 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.0003351/0.7026, allocations: 165.1 kB / 0.9615 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.7028, allocations: 80.33 kB / 0.9616 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7028, allocations: 0 / 0.9616 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.7029, allocations: 39.05 kB / 0.9616 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.7032, allocations: 11.64 kB / 0.9616 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.7036, allocations: 237.5 kB / 0.9619 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.7037, allocations: 0.6841 MB / 0.9625 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.7038, allocations: 14.48 kB / 0.9626 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7038, allocations: 0 / 0.9626 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.003251/0.707, allocations: 1.611 MB / 0.9641 GB, free: 0.9883 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