Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001589/0.001589, allocations: 107 kB / 15.99 MB, free: 5.895 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.00163/0.00163, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.438/1.438, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 469.8 MB / 0.7427 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 64.39 kB / 0.9087 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3046, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002756/0.3074, allocations: 1.562 MB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3087, allocations: 0.7285 MB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.3088, allocations: 3.938 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.3088, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.3089, allocations: 3.938 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.3094, allocations: 111.8 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3095, allocations: 75.78 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.3096, allocations: 12 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.034e-05/0.3097, allocations: 39.89 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.3098, allocations: 31.84 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3098, allocations: 8 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.31, allocations: 99.84 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.31, allocations: 19.91 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.3101, allocations: 31.8 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.3103, allocations: 104 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3103, allocations: 7.984 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3103, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3103, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8262 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.0006645/0.311, allocations: 413 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.311, allocations: 11.97 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.3111, allocations: 8.844 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.3112, allocations: 176.2 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3112, allocations: 8.375 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.3113, allocations: 8.375 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.3115, allocations: 69.91 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3115, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3115, allocations: 4 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3115, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3116, allocations: 39.97 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.3123, allocations: 312.8 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.3124, allocations: 54.5 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.3125, allocations: 36.95 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.3125, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.3128, allocations: 75.38 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3128, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000404/0.3132, allocations: 137.5 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3133, allocations: 59.34 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3134, allocations: 117.8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3134, allocations: 29.7 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.3135, allocations: 96.11 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3135, allocations: 19.75 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.3136, allocations: 29.7 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3137, allocations: 326.8 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.3138, allocations: 23.98 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.3139, allocations: 54.48 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3141, allocations: 74.5 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.3141, allocations: 4 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002541/0.3144, allocations: 101.6 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3144, allocations: 8 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3144, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3144, allocations: 3.984 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.3145, allocations: 20.05 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3145, allocations: 4 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.3146, allocations: 7.906 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3146, allocations: 4.375 kB / 1.069 GB, free: 9.203 MB / 0.8262 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 0.0001022/0.3147, allocations: 129.7 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.3148, allocations: 7.906 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.3148, allocations: 8.375 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.3148, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3148, allocations: 4 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3148, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.3153, allocations: 386.4 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3153, allocations: 4 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.3154, allocations: 7.922 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.3154, allocations: 4 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3154, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3154, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3154, allocations: 7.938 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.3158, allocations: 207.4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.3158, allocations: 85.02 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3158, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.3159, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.316, allocations: 11.92 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.316, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.319e-05/0.3161, allocations: 103.2 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3161, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003038/0.3164, allocations: 39.98 kB / 1.07 GB, free: 8.113 MB / 0.8262 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.0003834/0.3168, allocations: 167.9 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.317, allocations: 79.89 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3171, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3172, allocations: 35.97 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3174, allocations: 8 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.3179, allocations: 214.3 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3182, allocations: 0.6846 MB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.3183, allocations: 15.42 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of SimCode: time 2.134e-06/0.3183, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of Templates: time 0.003663/0.3219, allocations: 1.626 MB / 1.073 GB, free: 5.242 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches