Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 103.5 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.00146/0.00146, allocations: 189.5 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 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.319/2.319, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8162/0.8176, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002511/0.8201, allocations: 1.5 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.8214, allocations: 0.7358 MB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.8214, allocations: 1.031 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.8215, allocations: 4.734 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.832e-05/0.8215, allocations: 15.44 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.8221, allocations: 120.3 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.8222, allocations: 73.02 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.8224, allocations: 16.05 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.8225, allocations: 35.11 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.8226, allocations: 42.08 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.8226, allocations: 5.562 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.8228, allocations: 93.92 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.8228, allocations: 19.88 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.8229, allocations: 31.33 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.8232, allocations: 142.1 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8232, allocations: 4 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8232, allocations: 0 / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.8232, allocations: 0.9375 kB / 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.0005914/0.8238, allocations: 420.8 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8239, allocations: 9.062 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.8239, allocations: 8.844 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.593e-05/0.824, allocations: 169.7 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.824, allocations: 7.562 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.8241, allocations: 3.812 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.8243, allocations: 85.08 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8243, allocations: 0.5156 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.8243, allocations: 0.5938 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.8243, allocations: 5.578 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.8245, allocations: 35.86 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.825, allocations: 318.2 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.8252, allocations: 46.52 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.8253, allocations: 31.86 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.8253, allocations: 0.7812 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.8255, allocations: 76.86 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.8255, allocations: 8.688 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004274/0.826, allocations: 141.7 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.826, allocations: 53.62 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.8261, allocations: 119 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.8261, allocations: 31.55 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.8262, allocations: 91.77 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.8262, allocations: 11.92 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.8262, allocations: 37.67 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.8263, allocations: 319.3 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.8264, allocations: 31.97 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.8265, allocations: 45.47 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.8267, allocations: 72.06 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8267, allocations: 1.031 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002309/0.8269, allocations: 117.2 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.827, allocations: 8.875 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.827, allocations: 1.469 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.827, allocations: 0.875 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.8271, allocations: 15.34 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.8271, allocations: 6.5 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.8272, allocations: 12.8 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.8272, allocations: 7.969 kB / 1.094 GB, free: 1.734 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.817e-05/0.8273, allocations: 118.9 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.8273, allocations: 7.734 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.8274, allocations: 7.344 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8274, allocations: 1.844 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8274, allocations: 3.938 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8274, allocations: 4.703 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.8278, allocations: 374.2 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8278, allocations: 0.8438 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.8278, allocations: 5.922 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.8279, allocations: 0 / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.8279, allocations: 7.141 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.8279, allocations: 0 / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8279, allocations: 4.688 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.8282, allocations: 219.5 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.8282, allocations: 80.58 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.8282, allocations: 5.453 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.8283, allocations: 4.359 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.8284, allocations: 12.53 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.8284, allocations: 3.891 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.8284, allocations: 96.36 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8285, allocations: 0 / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003279/0.8288, allocations: 49.95 kB / 1.095 GB, free: 0.8789 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.0003533/0.8291, allocations: 155.8 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.8294, allocations: 76.34 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8294, allocations: 0.8125 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.8295, allocations: 37.06 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.8298, allocations: 8.844 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.8302, allocations: 206.7 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.8304, allocations: 0.6908 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.8305, allocations: 12.92 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.8305, allocations: 0 / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.004443/0.8349, allocations: 1.625 MB / 1.097 GB, free: 15.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches