Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Herkel2008WindowsTiltedOpen,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.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_latest_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.0009176/0.0009173, allocations: 91.77 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.001058/0.001058, allocations: 179 kB / 16.92 MB, free: 6.652 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.379/1.379, allocations: 223.2 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 11.56 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3059, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00172/0.3077, allocations: 1.225 MB / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.309, allocations: 0.7206 MB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.009e-05/0.309, allocations: 4 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.3091, allocations: 3.938 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.3091, allocations: 15.8 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.3097, allocations: 103.8 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3098, allocations: 67.83 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.3099, allocations: 8 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.31, allocations: 31.91 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.3101, allocations: 43.83 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3101, allocations: 0 / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.3103, allocations: 95.84 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.3103, allocations: 15.92 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.3104, allocations: 53.55 kB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.3105, allocations: 96.05 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3106, allocations: 0 / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3106, allocations: 0 / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.3106, allocations: 0 / 1.062 GB, free: 2.477 MB / 0.8106 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.0005752/0.3112, allocations: 405.1 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3112, allocations: 15.97 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.3113, allocations: 8.844 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.3114, allocations: 180.2 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.3114, allocations: 8.312 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.3114, allocations: 4.375 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3116, allocations: 69.97 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3116, allocations: 8 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3117, allocations: 3.984 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3117, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3118, allocations: 39.98 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.3124, allocations: 324.7 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3126, allocations: 54.5 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.3127, allocations: 32.97 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3127, allocations: 11.98 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.3129, allocations: 79.44 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3129, allocations: 0 / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004149/0.3133, allocations: 149.6 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3134, allocations: 55.39 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/0.3135, allocations: 125.7 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3135, allocations: 29.7 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.3136, allocations: 92.12 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3136, allocations: 19.75 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.3136, allocations: 13.72 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.3137, allocations: 322.8 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.3138, allocations: 31.98 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.3139, allocations: 54.55 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3141, allocations: 90.36 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3141, allocations: 0 / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002661/0.3144, allocations: 117.7 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3144, allocations: 8 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3144, allocations: 4.062 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3144, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.3145, allocations: 11.98 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3146, allocations: 4 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.3146, allocations: 7.984 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3146, allocations: 4 kB / 1.064 GB, free: 15.89 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 9.495e-05/0.3147, allocations: 127.2 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.3148, allocations: 15.91 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.3148, allocations: 4.375 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3148, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3148, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3148, allocations: 3.984 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.3153, allocations: 386.8 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3153, allocations: 3.984 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.3153, allocations: 8 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3153, allocations: 4 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3154, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3154, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3154, allocations: 3.938 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3157, allocations: 223.5 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.3157, allocations: 85.02 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3157, allocations: 0 / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.3158, allocations: 7.984 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.3159, allocations: 7.938 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3159, allocations: 7.984 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.321e-05/0.316, allocations: 91.22 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8.42e-07/0.316, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003051/0.3163, allocations: 47.98 kB / 1.065 GB, free: 14.78 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.0003428/0.3167, allocations: 158.4 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.3169, allocations: 83.95 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3169, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-05/0.317, allocations: 31.98 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.3173, allocations: 15.92 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.3177, allocations: 231 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.318, allocations: 0.6887 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.318, allocations: 7.438 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.318, allocations: 7.938 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.003602/0.3216, allocations: 1.595 MB / 1.068 GB, free: 11.92 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches