Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008111/0.008111, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001902/0.001902, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.552/2.552, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.59 kB / 0.9508 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3134, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002619/0.316, allocations: 1.486 MB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3173, allocations: 0.7375 MB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.3174, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.3174, allocations: 3.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.3175, allocations: 11.88 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.318, allocations: 119.6 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3182, allocations: 79.83 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3183, allocations: 15.97 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.3184, allocations: 31.92 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.3185, allocations: 47.75 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3185, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.3187, allocations: 95.91 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.3187, allocations: 19.92 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.3188, allocations: 31.86 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.319, allocations: 139.5 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.319, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.319, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.319, allocations: 0 / 1.091 GB, free: 14.71 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.0006731/0.3197, allocations: 424.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3198, allocations: 12.03 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.3198, allocations: 8.891 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.32, allocations: 172.3 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.32, allocations: 12.31 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.32, allocations: 4.375 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3202, allocations: 73.97 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3202, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3202, allocations: 3.984 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3203, allocations: 3.938 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3204, allocations: 35.92 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.321, allocations: 320.7 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3212, allocations: 50.56 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.3213, allocations: 32.97 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3213, allocations: 3.984 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.3215, allocations: 91.36 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3215, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003891/0.3219, allocations: 133.6 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.322, allocations: 59.39 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.3221, allocations: 121.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3221, allocations: 29.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.3222, allocations: 88.12 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3222, allocations: 23.84 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.3223, allocations: 33.64 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3224, allocations: 322.8 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.723e-05/0.3225, allocations: 23.97 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.751e-05/0.3226, allocations: 46.56 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3228, allocations: 74.55 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3228, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002261/0.323, allocations: 121.5 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.323, allocations: 7.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.3231, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3231, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3232, allocations: 16.06 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.3232, allocations: 3.984 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.3233, allocations: 11.95 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.3233, allocations: 4 kB / 1.093 GB, free: 12.14 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 0.0001065/0.3234, allocations: 119.8 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.3234, allocations: 11.95 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.3235, allocations: 12.36 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3235, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3235, allocations: 7.938 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3235, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.324, allocations: 374.5 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.324, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.324, allocations: 4 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.324, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.324, allocations: 7.984 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.324, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.324, allocations: 7.938 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.3243, allocations: 207.4 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.3244, allocations: 85 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3244, allocations: 11.92 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.3245, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.3246, allocations: 15.92 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3246, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.3246, allocations: 99.27 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3246, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002812/0.3249, allocations: 39.88 kB / 1.094 GB, free: 11.06 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.0003385/0.3253, allocations: 161.3 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.3255, allocations: 79.89 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3255, allocations: 0 / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.3256, allocations: 35.92 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3259, allocations: 16.06 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.3263, allocations: 176.3 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3265, allocations: 0.6925 MB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.733e-05/0.3266, allocations: 7.75 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.3266, allocations: 15.44 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3266, allocations: 3.938 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of Templates: time 0.00417/0.3308, allocations: 1.442 MB / 1.096 GB, free: 8.395 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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