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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001615/0.001615, allocations: 100.1 kB / 15.88 MB, free: 12 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.001961/0.001961, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.446/1.446, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.633, allocations: 140.4 MB / 0.9496 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002456/0.6355, allocations: 1.547 MB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.6367, allocations: 0.7397 MB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.6367, allocations: 1.375 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.6367, allocations: 0 / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-05/0.6368, allocations: 13.23 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.6373, allocations: 100.7 kB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.6374, allocations: 73.97 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.6375, allocations: 17.48 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.818e-05/0.6375, allocations: 35.02 kB / 0.952 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.6376, allocations: 34.84 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.6376, allocations: 4.125 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.6378, allocations: 89.09 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.6378, allocations: 18.72 kB / 0.9522 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.6379, allocations: 28.05 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.638, allocations: 108.2 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.638, allocations: 0 / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.638, allocations: 5.188 kB / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6381, allocations: 0 / 0.9523 GB, free: 6.957 MB / 0.7169 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.0005211/0.6386, allocations: 415.3 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.6386, allocations: 9.812 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.6387, allocations: 4.781 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.79e-05/0.6387, allocations: 172.3 kB / 0.9529 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.6388, allocations: 5.906 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.6388, allocations: 5.531 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.639, allocations: 79.84 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.639, allocations: 0 / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.639, allocations: 0 / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.639, allocations: 1.156 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.6391, allocations: 36.41 kB / 0.953 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.6397, allocations: 325.8 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.6398, allocations: 48.91 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.6399, allocations: 35.17 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.6399, allocations: 5.094 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.6401, allocations: 81.02 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.6401, allocations: 1.438 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003799/0.6405, allocations: 140.1 kB / 0.9536 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.6405, allocations: 52.78 kB / 0.9537 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.6406, allocations: 125.1 kB / 0.9538 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.6406, allocations: 35.02 kB / 0.9538 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.6407, allocations: 90.95 kB / 0.9539 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.6407, allocations: 14.53 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.6407, allocations: 30.02 kB / 0.954 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.6408, allocations: 324 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.6409, allocations: 26.98 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.641, allocations: 48.98 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.6411, allocations: 73.16 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6411, allocations: 0 / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000213/0.6414, allocations: 113.8 kB / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6414, allocations: 5.125 kB / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.6414, allocations: 1.094 kB / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.6414, allocations: 1.062 kB / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.6415, allocations: 12.27 kB / 0.9545 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.6415, allocations: 5.312 kB / 0.9545 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.6416, allocations: 7.438 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.6416, allocations: 7.859 kB / 0.9546 GB, free: 4.82 MB / 0.7169 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 6.455e-05/0.6417, allocations: 126.7 kB / 0.9547 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.6417, allocations: 6.781 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.6417, allocations: 9.5 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6417, allocations: 1.156 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6417, allocations: 0 / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6417, allocations: 13.17 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.6421, allocations: 382.5 kB / 0.9551 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6421, allocations: 0 / 0.9551 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.6422, allocations: 11.58 kB / 0.9551 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6422, allocations: 1.406 kB / 0.9551 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.6422, allocations: 1.562 kB / 0.9551 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6422, allocations: 0 / 0.9551 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6422, allocations: 3.938 kB / 0.9551 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.6425, allocations: 209.5 kB / 0.9553 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.6425, allocations: 83.27 kB / 0.9554 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.6425, allocations: 1.281 kB / 0.9554 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.6426, allocations: 6.453 kB / 0.9554 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.6427, allocations: 6.531 kB / 0.9554 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.6427, allocations: 6.438 kB / 0.9554 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.6427, allocations: 96.58 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6427, allocations: 0 / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003043/0.643, allocations: 39.89 kB / 0.9555 GB, free: 3.906 MB / 0.7169 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.0003336/0.6434, allocations: 167.6 kB / 0.9557 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.6436, allocations: 73.67 kB / 0.9558 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6436, allocations: 0 / 0.9558 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.6437, allocations: 40.34 kB / 0.9558 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.644, allocations: 7.75 kB / 0.9558 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.6444, allocations: 217.8 kB / 0.956 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.6445, allocations: 0.6887 MB / 0.9567 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.6445, allocations: 14.95 kB / 0.9567 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.6445, allocations: 0 / 0.9567 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.003085/0.6476, allocations: 1.605 MB / 0.9583 GB, free: 1.992 MB / 0.7169 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