Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001623/0.001623, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.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.371/2.371, allocations: 390.2 MB / 0.6642 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6245/0.6258, allocations: 140.3 MB / 0.9489 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002335/0.6282, allocations: 1.563 MB / 0.9504 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.6292, allocations: 0.7297 MB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.6292, allocations: 0 / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.6293, allocations: 7.922 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.6293, allocations: 6.406 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.6297, allocations: 108.2 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.6298, allocations: 70.67 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.6299, allocations: 22 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.63, allocations: 29.36 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.6301, allocations: 38.45 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.6301, allocations: 4.781 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.6303, allocations: 89.72 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.6303, allocations: 14.61 kB / 0.9515 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.6303, allocations: 28.2 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.6305, allocations: 139.4 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6305, allocations: 3.984 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6305, allocations: 4 kB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.6306, allocations: 0 / 0.9517 GB, free: 7.047 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.000513/0.6311, allocations: 424.4 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.6311, allocations: 9.75 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.6312, allocations: 3.75 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.963e-05/0.6312, allocations: 172.5 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.6313, allocations: 3.188 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.6313, allocations: 7.188 kB / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.6314, allocations: 72.38 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.6315, allocations: 1.156 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.6315, allocations: 0 / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6315, allocations: 5.109 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.6316, allocations: 40.06 kB / 0.9524 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.6321, allocations: 321.9 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.6322, allocations: 49.88 kB / 0.9527 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.862e-05/0.6323, allocations: 35.2 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.6324, allocations: 1.172 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.6325, allocations: 88.92 kB / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.405e-06/0.6326, allocations: 0 / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003782/0.6329, allocations: 136.9 kB / 0.953 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.633, allocations: 57.03 kB / 0.9531 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.6331, allocations: 121.5 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.6331, allocations: 25.7 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.6331, allocations: 87.73 kB / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.6331, allocations: 14.34 kB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.6332, allocations: 33.27 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.6333, allocations: 329.3 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.6333, allocations: 22.92 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.6334, allocations: 51.69 kB / 0.9537 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.6336, allocations: 69.62 kB / 0.9538 GB, free: 5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6336, allocations: 1.5 kB / 0.9538 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.6338, allocations: 112.7 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6338, allocations: 7.969 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.6339, allocations: 3.938 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.6339, allocations: 1.312 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.634, allocations: 12.52 kB / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.634, allocations: 5.266 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.6341, allocations: 12.47 kB / 0.9539 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.6341, allocations: 14.53 kB / 0.9539 GB, free: 4.898 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.881e-05/0.6342, allocations: 121.9 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.6342, allocations: 6.812 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.6342, allocations: 9.875 kB / 0.9541 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6342, allocations: 1.156 kB / 0.9541 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6342, allocations: 4 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6342, allocations: 9.094 kB / 0.9541 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.6346, allocations: 378.2 kB / 0.9544 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6346, allocations: 0.9375 kB / 0.9544 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.6347, allocations: 7.141 kB / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6347, allocations: 1.094 kB / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.6347, allocations: 4.906 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.6347, allocations: 0 / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6347, allocations: 5.875 kB / 0.9545 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.6349, allocations: 208.6 kB / 0.9547 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.635, allocations: 83.67 kB / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.635, allocations: 0 / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.6351, allocations: 6.844 kB / 0.9547 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.6351, allocations: 14.73 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.6352, allocations: 2.719 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.6352, allocations: 96.52 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6352, allocations: 0 / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002993/0.6355, allocations: 39.42 kB / 0.9549 GB, free: 3.992 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.0003202/0.6358, allocations: 160.7 kB / 0.955 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.6361, allocations: 69.12 kB / 0.9551 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6361, allocations: 1.406 kB / 0.9551 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.6362, allocations: 43.45 kB / 0.9552 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.6364, allocations: 9.375 kB / 0.9552 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.6368, allocations: 190.3 kB / 0.9553 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.878e-05/0.6369, allocations: 0.6889 MB / 0.956 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.6369, allocations: 7.359 kB / 0.956 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.637, allocations: 10.88 kB / 0.956 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.637, allocations: 0 / 0.956 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of Templates: time 0.00375/0.6407, allocations: 1.376 MB / 0.9574 GB, free: 2.219 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0