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.001603/0.001604, 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.002005/0.002005, allocations: 196.8 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.344/1.344, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.03 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002765/0.2823, allocations: 1.556 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2836, allocations: 0.74 MB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.2837, allocations: 3.938 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.2838, allocations: 3.938 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.2838, allocations: 7.922 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.2843, allocations: 107.8 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.2844, allocations: 71.77 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.2845, allocations: 15.98 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.2846, allocations: 23.92 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.2847, allocations: 39.83 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2847, allocations: 4 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.2849, allocations: 95.84 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.285, allocations: 11.92 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.285, allocations: 31.86 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.2852, allocations: 104 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2852, allocations: 0 / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2852, allocations: 0 / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2852, allocations: 0 / 1.055 GB, free: 5.484 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.0006617/0.2859, allocations: 417 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2859, allocations: 8.031 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.286, allocations: 12.78 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.2861, allocations: 180.2 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.2862, allocations: 4.375 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.2862, allocations: 4.375 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.2864, allocations: 73.95 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2864, allocations: 3.984 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2864, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2865, allocations: 4 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.2866, allocations: 39.91 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.2873, allocations: 312.8 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2874, allocations: 50.55 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.2875, allocations: 28.97 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.2875, allocations: 8 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.2878, allocations: 83.31 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.2878, allocations: 0 / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000411/0.2882, allocations: 137.6 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.2883, allocations: 51.41 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2884, allocations: 129.8 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2884, allocations: 29.7 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.2885, allocations: 92.08 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.2885, allocations: 23.73 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.2886, allocations: 25.72 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2887, allocations: 326.7 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.2888, allocations: 23.98 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2889, allocations: 54.48 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2891, allocations: 66.56 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2891, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.2893, allocations: 117.5 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2893, allocations: 5.094 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2894, allocations: 12 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2894, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2895, allocations: 11.98 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2895, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.2896, allocations: 15.89 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2896, allocations: 4 kB / 1.058 GB, free: 2.93 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.165e-05/0.2897, allocations: 117.8 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.2897, allocations: 4 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.2898, allocations: 16.38 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2898, allocations: 0 / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2898, allocations: 0 / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2898, allocations: 7.922 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.2903, allocations: 382.7 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2903, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.2903, allocations: 4 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2903, allocations: 0 / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2904, allocations: 8 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2904, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2904, allocations: 3.938 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.2907, allocations: 215.3 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.2907, allocations: 81.11 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.2908, allocations: 0 / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2909, allocations: 7.984 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.2909, allocations: 15.94 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2909, allocations: 3.984 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.549e-05/0.291, allocations: 87.28 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.291, allocations: 3.938 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003109/0.2913, allocations: 43.98 kB / 1.059 GB, free: 1.848 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.0003739/0.2917, allocations: 168.6 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.292, allocations: 71.89 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.292, allocations: 0 / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.2921, allocations: 35.92 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.2923, allocations: 8 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.2928, allocations: 223.8 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2931, allocations: 0.6887 MB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.2931, allocations: 11.44 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.2931, allocations: 0 / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of Templates: time 0.003674/0.2968, allocations: 1.617 MB / 1.061 GB, free: 14.98 MB / 0.8262 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 -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) Reference file matches