Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 106.6 kB / 16.27 MB, free: 5.992 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.001309/0.001309, allocations: 192.5 kB / 17.2 MB, free: 5.602 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.534/2.534, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 54.38 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2875, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002871/0.2904, allocations: 1.485 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2917, allocations: 0.7323 MB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.2918, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.2918, allocations: 3.938 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.2919, allocations: 15.86 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.2925, allocations: 119.6 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2926, allocations: 75.78 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2928, allocations: 23.91 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.2929, allocations: 31.92 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.2929, allocations: 43.81 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.293, allocations: 4 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.2932, allocations: 99.84 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.2932, allocations: 19.92 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.2933, allocations: 31.84 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.2935, allocations: 139.9 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2935, allocations: 4 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2936, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2936, allocations: 0 / 1.067 GB, free: 12.16 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.0006149/0.2942, allocations: 417 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2942, allocations: 8.031 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.2943, allocations: 8.844 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2944, allocations: 180.1 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2944, allocations: 4.375 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.2945, allocations: 4.375 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2947, allocations: 73.97 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2947, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2947, allocations: 3.938 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2947, allocations: 0 / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2949, allocations: 35.97 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.2955, allocations: 320.8 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.2956, allocations: 50.5 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.2957, allocations: 36.97 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.2957, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.2959, allocations: 79.38 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.2959, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003811/0.2963, allocations: 141.7 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2964, allocations: 55.41 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.2965, allocations: 121.8 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2965, allocations: 29.7 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.2965, allocations: 92.11 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.2966, allocations: 27.73 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.2966, allocations: 29.7 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.2967, allocations: 322.8 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.2968, allocations: 19.98 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.2969, allocations: 50.55 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.2971, allocations: 74.48 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2971, allocations: 8 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002329/0.2973, allocations: 101.6 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2973, allocations: 11.98 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2974, allocations: 3.938 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2974, allocations: 0 / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.2975, allocations: 12 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2975, allocations: 8 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.2976, allocations: 11.89 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.2976, allocations: 8 kB / 1.069 GB, free: 9.602 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.77e-05/0.2977, allocations: 121.7 kB / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.2977, allocations: 7.906 kB / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.2978, allocations: 12.36 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2978, allocations: 0 / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2978, allocations: 4 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2978, allocations: 0 / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.2982, allocations: 386.3 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2982, allocations: 0 / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.2983, allocations: 4 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2983, allocations: 0 / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2983, allocations: 3.984 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2983, allocations: 0 / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2983, allocations: 3.938 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.2986, allocations: 211.4 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.2986, allocations: 81.02 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.2986, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.2987, allocations: 7.984 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.2988, allocations: 11.94 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2988, allocations: 11.91 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.2989, allocations: 99.27 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.2989, allocations: 0 / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002992/0.2992, allocations: 36 kB / 1.07 GB, free: 8.52 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.0003455/0.2995, allocations: 162 kB / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.2998, allocations: 87.86 kB / 1.07 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2998, allocations: 0 / 1.07 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.2999, allocations: 35.98 kB / 1.07 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.3002, allocations: 13.88 kB / 1.07 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.3006, allocations: 202.2 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.3008, allocations: 0.6885 MB / 1.071 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.3009, allocations: 11.44 kB / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3009, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of Templates: time 0.00348/0.3044, allocations: 1.613 MB / 1.073 GB, free: 5.668 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches