Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001511/0.001512, allocations: 119.5 kB / 16.37 MB, free: 6.016 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.001674/0.001674, allocations: 193 kB / 17.31 MB, free: 5.613 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 63.94 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2842, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003076/0.2873, allocations: 1.516 MB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2887, allocations: 0.7399 MB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.2888, allocations: 3.938 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.2888, allocations: 7.922 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.2889, allocations: 11.86 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.2895, allocations: 123.6 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2897, allocations: 75.72 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2898, allocations: 15.98 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.2899, allocations: 35.91 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.29, allocations: 31.89 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.29, allocations: 8 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.2903, allocations: 99.84 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.2903, allocations: 15.92 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.2904, allocations: 35.84 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.2907, allocations: 139.6 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2907, allocations: 4 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2907, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.2907, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 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.0007735/0.2915, allocations: 416.9 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2915, allocations: 8.031 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.2916, allocations: 12.83 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.2918, allocations: 176.2 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.2918, allocations: 8.375 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2918, allocations: 8.375 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.292, allocations: 65.97 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2921, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.2921, allocations: 8 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2921, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.2922, allocations: 35.97 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.293, allocations: 316.7 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.2932, allocations: 54.55 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.532e-05/0.2933, allocations: 32.97 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.2933, allocations: 4 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.2935, allocations: 75.38 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2935, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004493/0.294, allocations: 141.6 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.2941, allocations: 55.39 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2942, allocations: 121.8 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2942, allocations: 29.7 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.2943, allocations: 92.05 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2943, allocations: 19.83 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.2944, allocations: 29.66 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2945, allocations: 322.8 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.2946, allocations: 31.92 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.724e-05/0.2947, allocations: 46.55 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2949, allocations: 74.5 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2949, allocations: 0 / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.2952, allocations: 117.5 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2952, allocations: 8 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2952, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2952, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.2953, allocations: 11.98 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2954, allocations: 8.062 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.2954, allocations: 15.83 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2955, allocations: 0 / 1.032 GB, free: 12.68 MB / 0.8106 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 9.714e-05/0.2956, allocations: 129.1 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.2956, allocations: 7.906 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.2956, allocations: 8.375 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2956, allocations: 3.984 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2956, allocations: 3.984 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2956, allocations: 4 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.2961, allocations: 386.7 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.2961, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.2961, allocations: 4 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2962, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2962, allocations: 4 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2962, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2962, allocations: 4.016 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.2965, allocations: 223.3 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.2965, allocations: 81.11 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.2966, allocations: 0 / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.2967, allocations: 7.984 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.2967, allocations: 11.88 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.2967, allocations: 3.984 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.2968, allocations: 95.28 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2968, allocations: 4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003112/0.2971, allocations: 39.89 kB / 1.033 GB, free: 11.58 MB / 0.8106 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.0003403/0.2974, allocations: 157.9 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.2977, allocations: 75.95 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2977, allocations: 0 / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-05/0.2978, allocations: 31.98 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.2981, allocations: 10.14 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.2985, allocations: 180.4 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.2987, allocations: 0.6885 MB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.2988, allocations: 8 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.2988, allocations: 7.438 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2988, allocations: 4 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.004237/0.303, allocations: 1.454 MB / 1.035 GB, free: 8.926 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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