Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001961/0.001961, allocations: 187 kB / 17.34 MB, free: 5.742 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 68.09 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9314/0.9337, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002484/0.9362, allocations: 1.504 MB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.9373, allocations: 0.7267 MB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.9373, allocations: 1.094 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.9374, allocations: 8.5 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.9374, allocations: 11.14 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.938, allocations: 125.6 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.9381, allocations: 75.72 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.9382, allocations: 12.03 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.689e-05/0.9383, allocations: 35.41 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.9384, allocations: 36.88 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.9384, allocations: 7 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.9386, allocations: 98.14 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.9387, allocations: 24 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.9387, allocations: 26.45 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.939, allocations: 138.4 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.939, allocations: 3.938 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.939, allocations: 1.094 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.939, allocations: 0 / 1.091 GB, free: 3.727 MB / 0.8575 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.0005212/0.9396, allocations: 430.1 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.9396, allocations: 10.78 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.9396, allocations: 8.094 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.793e-05/0.9397, allocations: 173.3 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.9398, allocations: 4.234 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.9398, allocations: 7.5 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.94, allocations: 72.7 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.94, allocations: 0.7969 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.94, allocations: 1.062 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.94, allocations: 5.125 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.9402, allocations: 35.92 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.9407, allocations: 318 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.9409, allocations: 45.52 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.9409, allocations: 40.44 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.941, allocations: 1.5 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.9412, allocations: 77.48 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.9412, allocations: 0 / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003947/0.9416, allocations: 140.7 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.9416, allocations: 62.02 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.9417, allocations: 119.3 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.9417, allocations: 28.31 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.9418, allocations: 94.94 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.9418, allocations: 8.188 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.9419, allocations: 29.5 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.9419, allocations: 327.2 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.942, allocations: 23.86 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.9421, allocations: 50.73 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.9422, allocations: 80.45 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9423, allocations: 0.7188 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002453/0.9425, allocations: 115.9 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9425, allocations: 5.484 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9425, allocations: 4.828 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.9426, allocations: 2.516 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.9427, allocations: 15.17 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.9427, allocations: 1.484 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.9428, allocations: 17.16 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.9428, allocations: 3.5 kB / 1.094 GB, free: 1.73 MB / 0.8575 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.048e-05/0.9429, allocations: 124.3 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.9429, allocations: 7.266 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.9429, allocations: 14.98 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.9429, allocations: 1.547 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9429, allocations: 0 / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.9429, allocations: 1.656 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.9433, allocations: 374.1 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.9433, allocations: 4 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.9434, allocations: 9.344 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.9434, allocations: 1.531 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.9434, allocations: 1.484 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.9434, allocations: 1.172 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9434, allocations: 4.656 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.9437, allocations: 215.4 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.9437, allocations: 83.34 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.9437, allocations: 6.234 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.9438, allocations: 4.094 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.9439, allocations: 9.109 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.9439, allocations: 3.125 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.9439, allocations: 96.09 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9439, allocations: 0 / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003558/0.9443, allocations: 46.44 kB / 1.095 GB, free: 0.875 MB / 0.8575 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.0003363/0.9446, allocations: 165.3 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.9449, allocations: 67.66 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9449, allocations: 1.062 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.945, allocations: 37.66 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.9453, allocations: 9.297 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.9456, allocations: 219.2 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.9458, allocations: 0.686 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.9459, allocations: 11.73 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9459, allocations: 0.9062 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.004309/0.9502, allocations: 1.625 MB / 1.097 GB, free: 15.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches