Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009511/0.0009511, allocations: 99.58 kB / 16.02 MB, free: 76 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.0008483/0.0008484, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.307/1.307, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003321, allocations: 11.94 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6156, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001851/0.6175, allocations: 1.223 MB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.6189, allocations: 0.7092 MB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.6189, allocations: 4 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.619, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.619, allocations: 15.86 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.6196, allocations: 103.8 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.6197, allocations: 75.77 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.6198, allocations: 11.97 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.6199, allocations: 31.92 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.62, allocations: 31.83 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.62, allocations: 4 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.6202, allocations: 99.84 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.6203, allocations: 11.92 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.6203, allocations: 53.56 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.6205, allocations: 97.78 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6205, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6205, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6206, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 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.0006252/0.6212, allocations: 409 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.6212, allocations: 16.03 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.6213, allocations: 4.844 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.6214, allocations: 184.2 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.6214, allocations: 4.375 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.6215, allocations: 4.375 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.6217, allocations: 73.97 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6217, allocations: 3.938 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.6217, allocations: 4 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6217, allocations: 4 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.6218, allocations: 43.95 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.6225, allocations: 328.7 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.6226, allocations: 46.56 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.6227, allocations: 36.95 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.6227, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.6229, allocations: 87.28 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6229, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004083/0.6233, allocations: 153.9 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.6234, allocations: 55.41 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.6235, allocations: 129.7 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.6235, allocations: 29.7 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.6236, allocations: 88.14 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.6236, allocations: 11.81 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.6236, allocations: 21.7 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.6237, allocations: 322.8 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.6238, allocations: 31.97 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.389e-05/0.6239, allocations: 46.56 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.6241, allocations: 86.48 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6241, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002492/0.6244, allocations: 121.4 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6244, allocations: 6.031 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6244, allocations: 4 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6244, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.6245, allocations: 16.05 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.6245, allocations: 7.938 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.6246, allocations: 11.94 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.6246, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 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 9e-05/0.6247, allocations: 118.3 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.6248, allocations: 11.89 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.6248, allocations: 8.375 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6248, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6248, allocations: 4 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6248, allocations: 4 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.6253, allocations: 382.4 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6253, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.6253, allocations: 8 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6254, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.6254, allocations: 11.98 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6254, allocations: 0 / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6254, allocations: 7.875 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.6257, allocations: 211.4 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.6257, allocations: 85 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.6257, allocations: 8 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.6258, allocations: 8 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.6259, allocations: 11.86 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.6259, allocations: 7.984 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.626, allocations: 91.27 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.626, allocations: 0 / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003146/0.6263, allocations: 36 kB / 1.029 GB, free: 9.691 MB / 0.7794 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.0003359/0.6266, allocations: 164 kB / 1.03 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.6269, allocations: 83.88 kB / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6269, allocations: 0 / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.627, allocations: 36.11 kB / 1.03 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.6273, allocations: 14.62 kB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.6277, allocations: 230.8 kB / 1.03 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.628, allocations: 0.6926 MB / 1.031 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.628, allocations: 11.42 kB / 1.031 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.628, allocations: 0 / 1.031 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of Templates: time 0.003612/0.6316, allocations: 1.594 MB / 1.032 GB, free: 6.824 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches