Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_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_10_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.001718/0.001718, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001918/0.001918, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.1 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 60.72 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2852, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.00286/0.2881, allocations: 1.499 MB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2895, allocations: 0.7298 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.2895, allocations: 0 / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.2896, allocations: 7.922 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.2896, allocations: 23.8 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.2902, allocations: 119.6 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2903, allocations: 67.84 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.2904, allocations: 12 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.2905, allocations: 39.83 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.2906, allocations: 35.84 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.2906, allocations: 12 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.2908, allocations: 91.91 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.2908, allocations: 23.86 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.2909, allocations: 35.84 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.2911, allocations: 143.8 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2912, allocations: 0 / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2912, allocations: 0 / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2912, allocations: 0 / 1.021 GB, free: 7.816 MB / 0.795 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.0006449/0.2918, allocations: 419 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2919, allocations: 12.03 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.2919, allocations: 8.844 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2921, allocations: 172.2 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2921, allocations: 8.375 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.2921, allocations: 4.375 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.2923, allocations: 69.97 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2923, allocations: 3.938 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2923, allocations: 4 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2923, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.2925, allocations: 43.95 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.2931, allocations: 312.8 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.2933, allocations: 46.56 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.2934, allocations: 48.89 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.2934, allocations: 3.938 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.2936, allocations: 71.38 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.2936, allocations: 4 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003929/0.294, allocations: 133.5 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.2941, allocations: 59.48 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2942, allocations: 121.8 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2942, allocations: 33.7 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.2943, allocations: 92.06 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.2943, allocations: 19.75 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.2944, allocations: 25.7 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2945, allocations: 326.8 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.753e-05/0.2946, allocations: 27.98 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.2947, allocations: 46.56 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.2949, allocations: 70.55 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2949, allocations: 3.938 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002497/0.2951, allocations: 117.5 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2952, allocations: 4 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2952, allocations: 0 / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2952, allocations: 0 / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.2953, allocations: 15.98 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2953, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-05/0.2954, allocations: 7.906 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2954, allocations: 7.938 kB / 1.023 GB, free: 5.273 MB / 0.795 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.0001075/0.2955, allocations: 129.8 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.2955, allocations: 7.938 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.2956, allocations: 8.312 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2956, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2956, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2956, allocations: 4 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.2961, allocations: 386.7 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2961, allocations: 4 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.2961, allocations: 7.984 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2961, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2962, allocations: 4 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2962, allocations: 0 / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2962, allocations: 7.875 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.2965, allocations: 219.5 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.2965, allocations: 81.11 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.2966, allocations: 4 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.2966, allocations: 0 / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.2967, allocations: 11.92 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.2967, allocations: 4 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.2968, allocations: 95.27 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2968, allocations: 0 / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003025/0.2971, allocations: 39.98 kB / 1.024 GB, free: 4.176 MB / 0.795 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.0003773/0.2975, allocations: 159.5 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.2977, allocations: 75.89 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2977, allocations: 0 / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.2979, allocations: 39.91 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.2981, allocations: 16.06 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.2986, allocations: 206 kB / 1.024 GB, free: 3.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.2989, allocations: 0.6846 MB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.2989, allocations: 11.42 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of SimCode: time 3.6e-07/0.2989, allocations: 8 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of Templates: time 0.003688/0.3026, allocations: 1.609 MB / 1.027 GB, free: 1.32 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches