Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001512/0.001512, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001688/0.001688, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 469.4 MB / 0.7423 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 71.59 kB / 0.9083 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3035, allocations: 159.1 MB / 1.064 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002765/0.3063, allocations: 1.552 MB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3076, allocations: 0.7246 MB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.3077, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.3077, allocations: 3.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.3078, allocations: 11.92 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.3084, allocations: 111.8 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.3086, allocations: 67.84 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3087, allocations: 19.95 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3088, allocations: 39.8 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.3089, allocations: 39.83 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3089, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3091, allocations: 99.91 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.3092, allocations: 15.92 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.3092, allocations: 31.86 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.3094, allocations: 104 kB / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3094, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3094, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3094, allocations: 3.938 kB / 1.066 GB, free: 12.5 MB / 0.8419 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.0006413/0.3101, allocations: 418.7 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3101, allocations: 12.62 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3102, allocations: 8.844 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3103, allocations: 176.2 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.3103, allocations: 12.38 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.3104, allocations: 4.375 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3106, allocations: 73.95 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3106, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3106, allocations: 4 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3106, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3107, allocations: 43.91 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.3113, allocations: 308.8 kB / 1.067 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.3115, allocations: 54.55 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.3115, allocations: 36.97 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3116, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.3118, allocations: 75.31 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3118, allocations: 4 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003943/0.3122, allocations: 137.6 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.3122, allocations: 55.41 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/0.3123, allocations: 121.8 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3124, allocations: 33.7 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.3124, allocations: 88.05 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.3124, allocations: 23.73 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.3125, allocations: 21.72 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3126, allocations: 326.8 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.3127, allocations: 23.98 kB / 1.068 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.058e-05/0.3128, allocations: 62.42 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.313, allocations: 66.56 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.313, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000234/0.3132, allocations: 113.6 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3132, allocations: 4 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.3132, allocations: 0 / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3133, allocations: 3.938 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.3134, allocations: 19.92 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3134, allocations: 0 / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.3134, allocations: 11.89 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3135, allocations: 4 kB / 1.069 GB, free: 9.957 MB / 0.8419 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 8.982e-05/0.3136, allocations: 124 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.3136, allocations: 7.906 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.3136, allocations: 8.375 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3136, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3136, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3136, allocations: 7.984 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.3141, allocations: 382.4 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3141, allocations: 3.984 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.3141, allocations: 8 kB / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3141, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3141, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3142, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3142, allocations: 3.938 kB / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.3144, allocations: 219.8 kB / 1.069 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.3145, allocations: 85.02 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3145, allocations: 4 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.3146, allocations: 7.984 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.3146, allocations: 7.938 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3147, allocations: 7.984 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.3147, allocations: 99.86 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3147, allocations: 0 / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002927/0.315, allocations: 35.98 kB / 1.07 GB, free: 8.867 MB / 0.8419 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.0003488/0.3154, allocations: 168.6 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.3156, allocations: 75.89 kB / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3156, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.3157, allocations: 35.92 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.316, allocations: 8 kB / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.3164, allocations: 214.3 kB / 1.07 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3166, allocations: 0.6885 MB / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.3167, allocations: 11.44 kB / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3167, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of Templates: time 0.003369/0.32, allocations: 1.619 MB / 1.072 GB, free: 6.004 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches