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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001268/0.001268, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001595/0.001595, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.308/1.308, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 469.4 MB / 0.7423 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 69.45 kB / 0.9083 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.284, allocations: 159.1 MB / 1.064 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002912/0.287, allocations: 1.56 MB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2882, allocations: 0.7284 MB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.2883, allocations: 4 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.2884, allocations: 7.922 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.2885, allocations: 3.938 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.289, allocations: 107.8 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2891, allocations: 79.83 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.2892, allocations: 7.984 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.2893, allocations: 27.92 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.2894, allocations: 47.81 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.2894, allocations: 8 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.2896, allocations: 95.84 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.2897, allocations: 15.92 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.2897, allocations: 35.86 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.2899, allocations: 100 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2899, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.29, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.29, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 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.000683/0.2907, allocations: 424.9 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2907, allocations: 8.031 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.2907, allocations: 8.844 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2909, allocations: 176.2 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.2909, allocations: 8.375 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.2909, allocations: 4.375 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.2911, allocations: 69.97 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2911, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.2912, allocations: 7.984 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2912, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.2913, allocations: 35.97 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.2919, allocations: 320.7 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.292, allocations: 46.56 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.2921, allocations: 28.97 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2922, allocations: 4 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.2924, allocations: 79.38 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2924, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003846/0.2928, allocations: 149.7 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.2928, allocations: 59.39 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.2929, allocations: 117.8 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.293, allocations: 25.7 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.293, allocations: 100 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.2931, allocations: 19.75 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.2931, allocations: 29.7 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.2932, allocations: 318.8 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.2933, allocations: 31.91 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/0.2934, allocations: 46.56 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.2936, allocations: 74.48 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2936, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002254/0.2938, allocations: 109.6 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2938, allocations: 8 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.2938, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2939, allocations: 4.062 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.294, allocations: 8 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.294, allocations: 11.92 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.294, allocations: 11.91 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2941, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 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 8.721e-05/0.2942, allocations: 121.8 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.2942, allocations: 3.906 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.2942, allocations: 20.36 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2942, allocations: 0 / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2942, allocations: 4 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2942, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.2947, allocations: 382.3 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2947, allocations: 0 / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.2948, allocations: 4 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.2948, allocations: 7.984 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2948, allocations: 7.984 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2948, allocations: 4 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2948, allocations: 3.938 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.2951, allocations: 207.4 kB / 1.069 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.2952, allocations: 81.02 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.2952, allocations: 3.984 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.2953, allocations: 11.94 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.2953, allocations: 15.92 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.2954, allocations: 0 / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.2954, allocations: 103.8 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2954, allocations: 0 / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002967/0.2957, allocations: 36 kB / 1.07 GB, free: 8.941 MB / 0.8419 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.0004126/0.2961, allocations: 157.1 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.2964, allocations: 71.88 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2964, allocations: 4 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.2965, allocations: 31.98 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.2968, allocations: 8.922 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.2972, allocations: 226.2 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.2975, allocations: 0.6906 MB / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.2975, allocations: 11.44 kB / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2975, allocations: 0 / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of Templates: time 0.00344/0.301, allocations: 1.615 MB / 1.072 GB, free: 6.082 MB / 0.8419 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