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.001706/0.001706, allocations: 100.1 kB / 15.88 MB, free: 12 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.001991/0.001991, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.311/2.311, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6052/0.6066, allocations: 140.3 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002314/0.6089, allocations: 1.567 MB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.61, allocations: 0.7285 MB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.61, allocations: 5.375 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.6101, allocations: 3.984 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.195e-05/0.6101, allocations: 9.25 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.6106, allocations: 104.7 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.304e-05/0.6107, allocations: 73.95 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.6108, allocations: 17.47 kB / 0.952 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.6108, allocations: 31.05 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.6109, allocations: 38.83 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.6109, allocations: 4.125 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.6111, allocations: 93.22 kB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.6111, allocations: 11.17 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.6112, allocations: 32.45 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.6113, allocations: 104.1 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6113, allocations: 0 / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6113, allocations: 0 / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.6113, allocations: 0 / 0.9523 GB, free: 7.051 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.000509/0.6118, allocations: 424.2 kB / 0.9527 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6119, allocations: 10.16 kB / 0.9527 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.6119, allocations: 7.297 kB / 0.9527 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.679e-05/0.612, allocations: 172.1 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.6121, allocations: 2.969 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.6121, allocations: 12.56 kB / 0.9529 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.6123, allocations: 75.33 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.6123, allocations: 1.062 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.6123, allocations: 4 kB / 0.953 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6123, allocations: 1.5 kB / 0.953 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.6124, allocations: 35.78 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.6129, allocations: 319.1 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.6131, allocations: 55.55 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.6132, allocations: 31.72 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.6132, allocations: 5.625 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.6134, allocations: 76.47 kB / 0.9535 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.6134, allocations: 1.5 kB / 0.9535 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003706/0.6138, allocations: 143.4 kB / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.6138, allocations: 57.88 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.6139, allocations: 121.1 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.6139, allocations: 26.98 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.6139, allocations: 86.61 kB / 0.9539 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.614, allocations: 18.48 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.614, allocations: 25.47 kB / 0.954 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.6141, allocations: 329.2 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.6141, allocations: 22.08 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.6142, allocations: 49.27 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.6144, allocations: 73.77 kB / 0.9544 GB, free: 5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6144, allocations: 8 kB / 0.9544 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002167/0.6146, allocations: 117 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.6146, allocations: 7.094 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6146, allocations: 1.406 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6147, allocations: 1.375 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.6148, allocations: 11.48 kB / 0.9546 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6148, allocations: 1.062 kB / 0.9546 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.6148, allocations: 17.23 kB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.6149, allocations: 6.562 kB / 0.9546 GB, free: 4.898 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 7.147e-05/0.6149, allocations: 121.9 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.615, allocations: 8.031 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.615, allocations: 13.72 kB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.615, allocations: 1.438 kB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.615, allocations: 3.984 kB / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.615, allocations: 0 / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.6154, allocations: 379.5 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6154, allocations: 0 / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.6154, allocations: 6.781 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6154, allocations: 1.375 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.6155, allocations: 9.281 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6155, allocations: 0 / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6155, allocations: 3.938 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.6157, allocations: 214.2 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.6157, allocations: 82.55 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.6158, allocations: 1.375 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.6159, allocations: 11.05 kB / 0.9554 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.6159, allocations: 6.625 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.6159, allocations: 5.453 kB / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.6159, allocations: 89.41 kB / 0.9555 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6159, allocations: 0 / 0.9555 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002854/0.6162, allocations: 43.77 kB / 0.9555 GB, free: 3.988 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.0002907/0.6165, allocations: 169.2 kB / 0.9557 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.6168, allocations: 65.27 kB / 0.9558 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6168, allocations: 1.344 kB / 0.9558 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.6169, allocations: 40.09 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.6171, allocations: 11.41 kB / 0.9558 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.6175, allocations: 217.4 kB / 0.956 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.6177, allocations: 0.6968 MB / 0.9567 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.6177, allocations: 13.91 kB / 0.9567 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.6178, allocations: 1.344 kB / 0.9567 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of Templates: time 0.003647/0.6214, allocations: 1.607 MB / 0.9583 GB, free: 2.066 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches